Error using exampleUti​ls.compone​ntExamples​Dir (line 13)

8 ビュー (過去 30 日間)
Jon Bebeau
Jon Bebeau 2019 年 4 月 20 日
コメント済み: Lennah Etyang 2020 年 3 月 28 日
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
Joel Borja 2019 年 11 月 18 日
Did you ever find a solution? I am having the same problem.
TENGFEI Li
TENGFEI Li 2020 年 1 月 4 日
編集済み: TENGFEI Li 2020 年 1 月 4 日
Me too.
I have the same problem "error using exampleUtils.componentExamplesDir "

サインインしてコメントする。

回答 (1 件)

TENGFEI Li
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.
  1 件のコメント
Lennah Etyang
Lennah Etyang 2020 年 3 月 28 日
Thank you... it worked.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSurrogate Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by