Error using exampleUtils.componentExamplesDir (line 13)
Mostrar comentarios más antiguos
Hello, trying to use example from R2019a documentation openExample('globaloptim/MinimizeaSimpleFunctionwithBoundsExample') and get this error:
Error using exampleUtils.componentExamplesDir (line 13)
Invalid argument "globaloptim".
Error in findExample (line 18)
componentExamplesDir = exampleUtils.componentExamplesDir(component);
Error in openExample (line 24)
metadata = findExample(id);
>>
2 comentarios
Joel Borja
el 18 de Nov. de 2019
Did you ever find a solution? I am having the same problem.
TENGFEI Li
el 4 de En. de 2020
Editada: TENGFEI Li
el 4 de En. de 2020
Me too.
I have the same problem "error using exampleUtils.componentExamplesDir "
Respuestas (1)
TENGFEI Li
el 4 de En. de 2020
0 votos
Hi, I got the answer.
We didn't install the Global Optimization Toolbox.
After intslling Global Optimization Toolbox, the error will disappear.
Also, for all the problem, error using exampleUtils.componentExamplesDir (line XX), the answer is similar to it. Just check if you have already installed the corresponding toolbox.
1 comentario
Lennah Etyang
el 28 de Mzo. de 2020
Thank you... it worked.
Categorías
Más información sobre Surrogate Optimization en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!