slupdate - Replace blocks from previous releases with latest versions

Syntax

slupdate('sys')
slupdate('sys', prompt)
slupdate('sys', 'OperatingMode', 'Analyze')

Description

slupdate('sys') replaces blocks in model sys from a previous release of Simulink software with the latest versions.

slupdate('sys', prompt) specifies whether to prompt you before replacing a block. If prompt equals 1, the command prompts you before replacing the block. The prompt asks whether you want to replace the block. Valid responses are

If prompt equals 0, the command replaces all obsolete blocks without prompting you.

In addition to replacing obsolete blocks, slupdate

slupdate('sys', 'OperatingMode', 'Analyze') performs only the analysis portion without updating or changing the model. This command analyzes referenced models, linked libraries, and S-functions, and then returns a data structure with the following fields:

  


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