Error in sdo Aircraft Estimation
이전 댓글 표시
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?
답변 (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.
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!