Documentation Center

  • Trial Software
  • Product Updates

Contents

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

Input Arguments

modelname

Simulink model name that uses the parameter, specified as a string inside single quotes (' ').

noprompt

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

Default: false

Output Arguments

session

Design Optimization tool session name.

See Also

Was this topic helpful?