MATLAB Answers

Matlaber
0

Error in using Load

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
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
2019 年 1 月 20 日
can you elebrate more?
I am following the matlab website.

サインイン to comment.

タグ

1 件の回答

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 件のコメント

Star Strider
2019 年 1 月 20 日
My pleasure!
The only certain way to know what functions have been added to new releases would most likely be to search the Release Notes (link). It would not tell the functions that are already in a particular release. You would have to search the documentation for the release to find that information.
If you are searching for a specific function, they usually (but not always) have the version introduction listed near the end of the documentation page for the function. The best place to do that is the online documentation, since it always has the lastest release documentation posted.
Matlaber
2019 年 1 月 20 日
Thanks!
I saw the version stated in the document.
Thanks a lot. Well explained.
Star Strider
2019 年 1 月 20 日
As always, my pleasure!
Thank you!

サインイン to comment.



Translated by