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

Respuestas (0)

Categorías

Preguntada:

el 13 de Jul. de 2022

Comentada:

el 13 de Jul. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by