- Verify whether the documentation is installed for the product containing the example. If not, then install the documentation. For more information see https://www.mathworks.com/help/install/ug/install-documentation.html
- Change the help “Documentation Location” preference to “Web, on mathworks.com.” For more information see https://www.mathworks.com/help/matlab/matlab_env/help-settings.html
Why do I get an error when using the "openExample" command in MATLAB R2023b?
17 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 16 Ago 2023
Modificato: MathWorks Support Team
il 10 Ott 2025 alle 10:31
When I try to use the "openExample" command in MATLAB R2023b, I encounter the following error:
Error using matlab.internal.examples.findExamplesXml
Unable to find "matlab/MatricesAndArraysGSExample". Check whether "matlab"
is the correct location for "matlab/MatricesAndArraysGSExample" and try
again.
Error in findExample (line 14)
examplesXml = matlab.internal.examples.findExamplesXml(component,arg);
Error in openExample (line 30)
metadata = findExample(exampleId);
There does not appear to be any indication of the actual issue, so how do I resolve it?
Risposta accettata
MathWorks Support Team
il 10 Ott 2025 alle 0:00
Modificato: MathWorks Support Team
il 10 Ott 2025 alle 10:31
This error can occur when you have the "Documentation Location" in the MATLAB Help preferences set to “Installed Locally”, but you don’t have any documentation installed.
There are two ways to resolve this error:
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!