Error using exampleUtils.componentExamplesDir (line 13)
이전 댓글 표시
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
Joel Borja
2019년 11월 18일
Did you ever find a solution? I am having the same problem.
TENGFEI Li
2020년 1월 4일
편집: TENGFEI Li
2020년 1월 4일
Me too.
I have the same problem "error using exampleUtils.componentExamplesDir "
답변 (1개)
TENGFEI Li
2020년 1월 4일
0 개 추천
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
Lennah Etyang
2020년 3월 28일
Thank you... it worked.
카테고리
도움말 센터 및 File Exchange에서 Surrogate Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!