slvnvextract
Extract atomic subsystem or subchart contents into new model
Syntax
Description
extracts the contents of the Atomic Subsystem block or atomic subchartnewModel
= slvnvextract(subcomponent
)subcomponent
and creates a model.slvnvextract
returns the name of the new model innewModel
. If the model name already exists,slvnvextract
uses the subsystem or subchart name for the model name, appending a numeral to the model name.
Note
If an atomic subchart calls an exported graphical function that is outside the subchart,slvnvextract
creates the model, but the new model does not compile.
opens the extracted model if you setnewModel
= slvnvextract(subcomponent
,showModel
)showModel
totrue
. The extracted model is loaded only if you setshowModel
tofalse
.
extracts a stub model for the modelnewModel
= slvnvextract(modelmissingslfunctiondef
)modelmissingslfunctiondef
which has missing Simulink function definitions for the金宝app®Design Verifier™to analyze. Returns the name of the new model innewModel
.sldvextract
uses the input model name with a suffixSldvStub
for the extracted model name, appending a numeral to the model name if that model name already exists.
opens the extracted model if you setnewModel
= slvnvextract(modelmissingslfunctiondef
,showModel
)showModel
totrue
. Extracted model will be only loaded ifshowModel
is set tofalse
.