getsro - 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 Response 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

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.

See Also

findconstr, findpar, newsro, optimize

  


 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS