simscape.dependency.lib
Namespace: simscape.dependency
Check dependencies for library package
Syntax
[
fn_list
, missing
]
= simscape.dependency.lib('libName
')
[fn_list
, missing
]
= simscape.dependency.lib('libName
', dependencyType
)
[fn_list
, missing
]
= simscape.dependency.lib('libName
', dependencyType
,
'mdlFileName
')
[fn_list
, missing
]
= simscape.dependency.lib('libName
', dependencyType
,
'mdlFileName
', isRecursive
)
[fn_list
, missing
]
= simscape.dependency.lib('libName
', dependencyType
,
'mdlFileName
', isRecursive
, doTMWFile
)
Description
[
returns two cell arrays of character vectors: full path names of existing dependency
files, fn_list
, missing
]
= simscape.dependency.lib('libName
')fn_list
, and missing files,
missing
. These cell arrays list the existing and missing
files that are needed for the specified Simscape™ library package to build successfully, or to correctly visualize and
execute in MATLAB®.
[
returns
dependency files of the specified type.fn_list
, missing
]
= simscape.dependency.lib('libName
', dependencyType
)
[
lets you specify the name of the library model. When not specified, or specified as an
empty character vector (fn_list
, missing
]
= simscape.dependency.lib('libName
', dependencyType
,
'mdlFileName
')''
),
is used. libName
_lib
[
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.lib('libName
', dependencyType
,
'mdlFileName
', isRecursive
)
[
lets
you specify whether to include files inside the MATLAB root folder
(installation directory) in the analysis. fn_list
, missing
]
= simscape.dependency.lib('libName
', dependencyType
,
'mdlFileName
', isRecursive
, doTMWFile
)
If the package contains Simscape protected files, with the corresponding Simscape source files in the same folder, the analysis returns the names of protected files and then analyzes the source files for further dependencies. If the package contains Simscape protected files without the corresponding source files, the protected file names are returned without further analysis.
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):
| ||||||||||
|
Logical value that indicates whether the analysis is recursive on the generated dependency files:
| ||||||||||
|
The name of a Simscape library package. The package folder
name begins with a leading | ||||||||||
|
The name of the library model (either without path, or with
relative path, or with absolute path). The model file extension ( Default: |
Version History
Introduced in R2009b