Effacer les filtres
Effacer les filtres

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

4 vues (au cours des 30 derniers jours)
Patrick Scheppe
Patrick Scheppe le 3 Jan 2018
Commenté : Joann Ng le 22 Fév 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

Réponses (1)

Manan Mishra
Manan Mishra le 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.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by