simscape.dependency.file
Namespace: simscape.dependency
Check dependencies for single file
Syntax
[
fn_list
, missing
]
= simscape.dependency.file('fileName
')
[fn_list
, missing
]
= simscape.dependency.file('fileName
', dependencyType
)
[fn_list
, missing
]
= simscape.dependency.file('fileName
', dependencyType
, isRecursive
)
[fn_list
, missing
]
= simscape.dependency.file('fileName
', dependencyType
, isRecursive
, doTMWFile
)
Description
[
returns two cell arrays of character vectors: full path names of existing dependency
files, fn_list
, missing
]
= simscape.dependency.file('fileName
')fn_list
, and missing files,
missing
. These cell arrays list the existing and missing
files that are needed for the specified Simscape™ file to build successfully, or to correctly visualize and execute in
MATLAB®.
[
returns
dependency files of the specified type.fn_list
, missing
]
= simscape.dependency.file('fileName
', dependencyType
)
[
lets
you specify whether analysis is recursive on the generated dependency
files. By default, returns only the top-level dependency files.fn_list
, missing
]
= simscape.dependency.file('fileName
', dependencyType
, isRecursive
)
[
lets
you specify whether to include files inside the MATLAB root folder
(installation directory) in the analysis. fn_list
, missing
]
= simscape.dependency.file('fileName
', dependencyType
, isRecursive
, doTMWFile
)
Input Arguments
|
Enumerated value of type
These enumerated values have the following order: | ||||||||||
|
Logical value that indicates whether the file analysis includes files inside the MATLAB root folder (installation directory):
| ||||||||||
|
The name of the Simscape file (with path), or class method, for which the dependencies are checked. In case of multiple files with the same name, only the first file of the specified name on the MATLAB path is analyzed. | ||||||||||
|
Logical value that indicates whether the analysis is recursive on the generated dependency files:
|
Version History
Introduced in R2009b