How can I run examples I found on the MathWorks site?

4 ビュー (過去 30 日間)
Patrick Scheppe
Patrick Scheppe 2018 年 1 月 3 日
コメント済み: Joann Ng 2019 年 2 月 22 日
I wanted to run the following example:
I clicked on "try it in Matlab" and copied "openExample('ident_featured/idnlgreydemo11')" in the comand window but It didn't work. See the following error code:
Error using findExample (line 25) Invalid argument "ident_featured/idnlgreydemo11".
Error in setupExample (line 5) metadata = findExample(arg);
Error in openExample (line 10) [metadata,workDir] = setupExample(varargin{:});
What did I do wrong? Do I have to install something before trying?
Thanks in advance! Patrick

回答 (1 件)

Manan Mishra
Manan Mishra 2018 年 1 月 8 日
This error seems to be caused due to some issue with the following folder:
"(matlabroot)\examples\ident_featured"
I was able to reproduce the error on my end by removing this folder from the installation directory.
The error faced could be due to a faulty installation or manual changes made to the above folder.
You can try uninstalling and reinstalling MATLAB and check if the error is resolved.
  1 件のコメント
Joann Ng
Joann Ng 2019 年 2 月 22 日
It worked! Thank you!

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

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by