Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Design Optimization   

getsro - Extract response optimization project for given Simulink model

Syntax

proj=getsro('modelname')

Description

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.

Example

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.

See Also

findconstr, findpar, newsro, optimize

  


Related Products & Applications

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