Main Content

sdoupdate

Update model containing Signal Constraint block

Syntax

sdoupdate(modelname)
sdoupdate(modelname,noprompt)
session = sdoupdate(modelname)

Description

sdoupdate(modelname) replaces Signal Constraint blocks in a Simulink® model with equivalent blocks from the Signal Constraints library. If the model has an associated response optimization project, this command replaces it with a session that you can use with the Response Optimizer, after prompting you to update. The model must be open.

sdoupdate(modelname,noprompt) updates the response optimization project without prompting you.

session = sdoupdate(modelname) returns the Response Optimizer session.

Input Arguments

modelname

Simulink model name, specified as a character vector or string. For example, 'sldo_model1'.

noprompt

Whether to prompt you about updating the response optimization project (false) or not (true).

Default: false

Output Arguments

session

Response Optimizer session name.

Version History

Introduced in R2011b