Error using exampleUtils.componentExamplesDir (line 13)
8 次查看(过去 30 天)
显示 更早的评论
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 个评论
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
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surrogate Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!