| Simulink Reference | ![]() |
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.
Note
The model to be updated must have been created by a version of Simulink earlier than Simulink 5 and must be open when you call slupdate.
|
Blocks updated by this command include:
In addition to replacing obsolete blocks, slupdate
| slreplace_mux | view_mdlrefs | ![]() |
© 1994-2005 The MathWorks, Inc.