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

3 Ansichten (letzte 30 Tage)
Patrick Scheppe
Patrick Scheppe am 3 Jan. 2018
Kommentiert: Joann Ng am 22 Feb. 2019
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

Antworten (1)

Manan Mishra
Manan Mishra am 8 Jan. 2018
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.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by