sldvextract - Extract subsystem contents into new model for Simulink Design Verifier analysis

Syntax

[status, modelH] = sldvextract(blockH)
[status, modelH] = sldvextract(blockH, showModel)
[status, modelH] = sldvextract(blockH, showModel, showUI)
[status, modelH] = sldvextract(blockH, showModel, showUI, isvalid)

Description

[status, modelH] = sldvextract(blockH) extracts the contents of the subsystem that blockH specifies and creates a new model that you can analyze using the Simulink Design Verifier software. The sldvextract function returns the handle of the new model in modelH. It returns status as 1 upon successful completion; otherwise, it returns 0.

[status, modelH] = sldvextract(blockH, showModel) opens the extracted model if you set showModel to true.

[status, modelH] = sldvextract(blockH, showModel, showUI) performs the same tasks as sldvextract(blockH, showModel, showUI). 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.

[status, modelH] = sldvextract(blockH, showModel, showUI, isvalid) performs the same tasks as sldvextract(blockH, showModel, showUI). The isvalid arguments is reserved for internal use.

  


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