| Simulink® Response Optimization™ | ![]() |
Upgrade models with old Nonlinear Control Design Blockset blocks
ncdupdate('modelname')
ncdupdate('modelname') searches the Simulink® model specified by the string 'modelname' for Nonlinear Control Design Blockset Outport blocks and replaces them by the equivalent Signal Constraint block from Simulink® Response Optimization™ library. The model must be open prior to calling ncdupdate. Nonlinear Control Design Blockset software is the version of Simulink Response Optimization software that existed before Release 14.
When your model automatically loads its Nonlinear Control Design Blockset settings from an ncdStruct variable, this variable changes in the workspace during the update so that it is compatible with Simulink Response Optimization software. Make sure to resave this variable after the update so that the correct settings load with your model.
When your Nonlinear Control Design Blockset settings are stored in an ncdStruct variable, but do not automatically load with the model, first load the ncdStruct variable into the workspace before calling ncdupdate, and then resave the variable afterwards.
To retain the upgraded blocks, make sure you also save the model after running ncdupdate.
![]() | initpar | newsro | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |