Simulink.MDLInfo.getMetadata
Extract SLX, SLXP, or MDL file metadata without loading file
Description
returns the metadata structure associated with the specified SLX, SLXP, or MDL file without
loading the file.m
= Simulink.MDLInfo.getMetadata(file
)
The metadata structure contains the names and attributes of arbitrary data associated
with the file. The structure fields can be character vectors, numeric matrices of type
double
, or more structures.
Examples
Input Arguments
Tips
To add metadata to an SLX or MDL file, create a metadata structure that contains the
information you require and use the set_param
function to attach it to the file.
To extract the information without loading the file, use metadata instead of adding custom
data by using the add_param
function.
Version History
Introduced in R2009b