Why do I receive an error when I select “Start Optimization” for a

Technical Source
2 min readMar 15, 2022

Why do I receive an error when I select “Start Optimization” for a model when using Simulink Reponse Optimization 3.1 (R2006b)

I have got a control system-based model in Simulink. I then use Simulink Response Optimization to tune the parameters of my controller. When I specify the response requirements and select “Start Optimization” option, then I receive the following error dialog:

ERROR: Error using sldodialogs.DesignOptimizationGroup/openTab (line 83) 
ERROR: No default options available for the function 'fmincon'.

NOTE:-

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

This error can occur if you have installed Simulink Response Optimization 3.1 (R2006b) but do no possess the license. To verify your license for Simulink Response Optimization please type the following command in the MATLAB command window:

which -all optimset

This will find all instances of the function OPTIMSET in your MATLAB Path. Most probably this command will output multiple lines, each line corresponds to one found instance of the function. If Simulink Response Optimization is installed but not correctly licensed one of the lines will read:\n

$MATLABROOT\toolbox\sloptim\sloptim\@ResponseOptimizer\simset.m   % ResponseOptimizer method, Has no license available

(Where $MATLABROOT is the base installation directory of MATLAB as returned by typing ‘matlabroot’ in the MATLAB command window.)

If the product is not correctly licensed, please obtain and install a valid license.

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.