| Simulink® Response Optimization™ | ![]() |
proj=getsro('modelname')
proj=getsro('modelname') returns the response optimization project, proj, currently associated with the Simulink model with name, modelname. The model should be open and contain Simulink Response Optimization blocks. Use the project with the optimize function to optimize response signals in the model by tuning specified parameters.
Open the model pidtune_demo by typing
pidtune_demo
Extract the response optimization project from this model
proj=getsro('pidtune_demo')This returns
Name: 'pidtune_demo'
Parameters: [3x1 ResponseOptimizer.Parameter]
OptimOptions: [1x1 ResponseOptimizer.OptimOptions]
Tests: [1x1 ResponseOptimizer.SimTest]
Model: 'pidtune_demo'
Simulink Response Optimization Project.
Use the findpar and findconstr functions to specify signal constraints and tuned parameters.
findconstr, findpar, newsro, optimize
![]() | findpar | gridunc | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |