Simulink Reference Previous page   Next Page
slupdate

Replace obsolete versions of blocks in a model with the latest versions

Syntax

Description

slupdate('sys') replaces versions of blocks in the model sys made obsolete by Simulink 5 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.

Blocks updated by this command include:

Block
Comments
Pulse Generator
New implementation
Hit Crossing
S-function replaced by built-in implementation
Memory
S-function replaced by built-in implementation
Quantizer
S-function replaced by built-in implementation
Graph scope
Replaced by much-improved built-in Scope
2-D Table Lookup
S-function replaced by built-in implementation
Elementary Math
Replaced by either the Trigonometry, Rounding, or Math block
To Workspace
Three-element version of Maximum rows parameter is separated into individual fields
Outport
Replace initial output of width []

In addition to replacing obsolete blocks, slupdate


Previous page  slreplace_mux view_mdlrefs Next page

© 1994-2005 The MathWorks, Inc.