Main Content

sdoupdate

(To be removed) Update model containing Signal Constraint block

    sdoupdate will be removed in a future release. For more information, see Compatibility Considerations.

    Description

    sdoupdate(modelName) replaces Signal Constraint blocks in the specified Simulink® model with equivalent blocks from the Signal Constraints library and generate prompt about updating the corresponding response optimization project.

    example

    sdoupdate(modelName,noPrompt) updates the corresponding response optimization project without prompting you.

    session = sdoupdate(___) returns a Response Optimizer session associated with the specified model.

    Examples

    collapse all

    Update the Signal Constraint blocks in Simulink model myModel without any additional prompts.

    sdoupdate('myModel',true)

    Input Arguments

    collapse all

    Simulink model name, specified as a character vector.

    Option to hide project update prompt, returned as a logical value.

    Output Arguments

    collapse all

    Response Optimizer session name, returned as a character vector.

    Version History

    Introduced in R2011b

    collapse all

    R2023b: To be removed

    sdoupdate will be removed. To update models that contain a Signal Constraint block, manually replace the block with one of the following check blocks.