Error in sdo Aircraft Estimation
Mostrar comentarios más antiguos
Hello everyone, I have an error using the sdo tool, in fact when i run the example of the Aircraft parameters estimation I get the following error: "Error using sdo.solvers.fmincon.defaultSolverOptions (line
261)
Invalid default value for property 'MethodOptions' in class
'sdo.OptimizeOptions':
Solving an optimization problem with the "Method" option set
to 'fmincon' requires the Optimization Toolbox.
Error in modellofunzionante (line 52)
opt = sdo.OptimizeOptions;"
Could anyone please help me solving this bug?
Respuestas (1)
The error you are encountering indicates that MATLAB cannot find the ‘Optimization Toolbox’, which is required for the ‘fmincon’ method used in your script. To resolve this issue, ensure that the ‘Optimization Toolbox’ is installed and licensed on your MATLAB installation.
You can check the installed toolboxes by running the following command in the MATLAB Command Window
ver
If the ‘Optimization Toolbox’ is not listed, you will need to install it through the Add-Ons menu (Home tab > Add-Ons > Get Add-Ons). If the toolbox is installed but the error persists, try updating MATLAB and the toolbox to the latest version.
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!