sldvblockreplacement - Replace model blocks to support Simulink Design Verifier analysis

Syntax

[status, newmodel] = sldvblockreplacement(model)
[status, newmodel] = sldvblockreplacement(model, options)
[status, newmodel] = sldvblockreplacement(model, options, showUI)

Description

[status, newmodel] = sldvblockreplacement(model) copies the open model and replaces specified model blocks and other model components to prepare the model for a Simulink Design Verifier analysis. sldvblockreplacement replaces the blocks of the model according to the block replacement rules specified in the configuration settings associated with model, and returns a handle to the new model in newmodel. sldvblockreplacement returns 1 upon successful completion. Otherwise, it returns 0.

[status, newmodel] = sldvblockreplacement(model, options) replaces the blocks of the open model according to the block replacement rules using the sldvoptions object specified by options, and returns a handle to the new model in newmodel.

[status, newmodel] = sldvblockreplacement(model, options, showUI) performs the same tasks as sldvblockreplacement(model, options). If you set showUI to false (the default), any errors appear at the MATLAB command line; if you set showUI to true, any errors appear in the Simulation Diagnostics Viewer.

See Also

sldvoptions

  


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