Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 Optimization tool, 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 Optimization tool 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 Optimization tool session name.

Introduced in R2011b

Was this topic helpful?