Error in using Load

5 ビュー (過去 30 日間)
Matlaber
Matlaber 2019 年 1 月 20 日
コメント済み: Star Strider 2019 年 1 月 20 日
I am trying to follow "Detecting Outbreaks and Significant Changes in Signals".
Link as follow: Link
load WestAfricanEbolaOutbreak2014
plot(WHOreportdate, [TotalCasesGuinea TotalCasesLiberia TotalCasesSierraLeone],'.-')
legend('Guinea','Liberia','Sierra Leone');
title('Total suspected, probable and confirmed cases of Ebola virus disease');
When I run the code, it said:
Error using load
Unable to read file 'WestAfricanEbolaOutbreak2014'. No such file or directory.
  2 件のコメント
dpb
dpb 2019 年 1 月 20 日
The file has to be in a location on MATLABPATH or use a fully-qualified file name --
doc fullfile
may be useful for the latter...
Matlaber
Matlaber 2019 年 1 月 20 日
can you elebrate more?
I am following the matlab website.

サインインしてコメントする。

採用された回答

Star Strider
Star Strider 2019 年 1 月 20 日
That example should be at:
web(fullfile(docroot, 'signal/examples/detecting-outbreaks-and-significant-changes-in-signals.html'))
Run that from a script (or your Command Window). If you have it, that should open the Help Browser to that page. (The documentation does not mention when that example was added.)
  11 件のコメント
Matlaber
Matlaber 2019 年 1 月 20 日
Thanks!
I saw the version stated in the document.
Thanks a lot. Well explained.
Star Strider
Star Strider 2019 年 1 月 20 日
As always, my pleasure!
Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by