Unable to run matlab example "Solve Constrained Nonlinear Optimization, Problem-Based"

I try to run one of the matlabs example code from
To do this, I run the commend mentioned in the upper link
openExample('optim/SolveConstrainedNonlinearOptimizationProblemBasedExample')
the text live editor appears but as I try to run it, the following error appears:
Unable to resolve the name 'optim.internal.utils.hasGlobalOptimizationToolbox'.
Error in optim.internal.problemdef.ProblemImpl/solveImpl>iParseInputs
Error in optim.internal.problemdef.ProblemImpl/solveImpl
Error in optim.problemdef.OptimizationProblem/solve

1 件のコメント

Torsten
Torsten 2022 年 7 月 13 日
What do you get if you enter
license checkout Global_Optimization_Toolbox
?

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with Optimization Toolbox についてさらに検索

質問済み:

2022 年 7 月 13 日

コメント済み:

2022 年 7 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by