Extract SLX or MDL file metadata without loading file
returns the metadata structure associated with the specified SLX 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.
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.