| 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=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 Design 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 the model name at the MATLAB prompt:
pidtune_demo
Extract the response optimization project from this model by typing the following command at the MATLAB prompt:
proj=getsro('pidtune_demo')This command returns the following result:
Name: 'pidtune_demo'
Parameters: [3x1 ResponseOptimizer.Parameter]
OptimOptions: [1x1 sroengine.OptimOptions]
Tests: [1x1 ResponseOptimizer.SimTest]
Model: 'pidtune_demo'
Response Optimization Project.Use the findpar and findconstr functions to specify signal constraints and tuned parameters.
findconstr, findpar, newsro, optimize
![]() | findpar | gridunc | ![]() |

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 |