| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink Design Optimization |
| Contents | Index |
| Learn more about Simulink Design Optimization |
proj=newsro('modelname',params)
proj=newsro('modelname',params) creates a response optimization project proj for the Simulink model modelname. params is a cell array of strings that specifies model parameters for optimization. proj contains default design requirements, parameter settings, and optimization options in the Signal Constraint block. The model must contain at least one Signal Constraint block.
Create a response optimization project with default settings and specify parameters for optimization:
% Create a new response optimization project and specify parameters
% Kp, Ki and Kd for optimization.
proj = newsro('pidtune_demo',{'Kp' 'Ki' 'Kd'})Create a response optimization project with default settings using the GUI:
Drag and drop a Signal Constraint block from the Simulink Design Optimization library into the Simulink model.
Connect the Signal Constraint block to the signal that must meet specific design requirements.
Double-click the Signal Constraint block to create a response optimization project with default settings.
findconstr | findpar | getsro | optimize
![]() | ncdupdate | optimget | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |