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

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by