simscape.dependency.model
Namespace: simscape.dependency
Check dependencies for model
Syntax
[
fn_list
, missing
, reference2fnList
, reference2missing
]
= simscape.dependency.model('modelName
')
Description
[
checks
dependencies for a model containing Simscape™ and Simulink® blocks. fn_list
, missing
, reference2fnList
, reference2missing
]
= simscape.dependency.model('modelName
')modelName
specifies
the name of the model (either without path, or with relative path,
or with absolute path). The model file extension (.slx
or .mdl
)
is optional.
You must open the model first.
This command returns dependency information regarding Simscape files and blocks only. To perform a complete dependencies check for a model, use the Dependency Analyzer. For more information, see Analyze Model Dependencies.
If during the analysis this command encounters a Simscape file located inside the MATLAB® root folder, it returns the file name without performing any further analysis on this file, because all the dependent files in this case are part of standard MathWorks installation.
Output Arguments
|
A cell array of character vectors containing the full paths of all existing files referenced
by the model |
|
A cell array of character vectors containing the names of all files that are referenced by the
model |
|
A list of structures, each of which includes a field |
|
A list of structures, each of which includes a field |
Version History
Introduced in R2009b