Help CenterHelp Center
Extract SLX, SLXP, or MDL file description without loading file
d = Simulink.MDLInfo.getDescription(file)
example
d= Simulink.MDLInfo.getDescription(file)returns the description of the specified SLX, SLXP, or MDL file without loading the file.
d= Simulink.MDLInfo.getDescription(file)
d
file
collapse all
Get the description of thevdpmodel without loading it or creating a万博1manbetx仿真软件。MDLInfoobject for it.
vdp
万博1manbetx仿真软件。MDLInfo
d = Simulink.MDLInfo.getDescription('vdp')
d = 'The van der Pol Equation This is a simulation of a nonlinear second order system.'
Name of the SLX, SLXP, or MDL file, specified as a character vector or string scalar.
The file name can include a partial path, complete path, relative path, or no path. When you do not provide a path, the file extension is optional.
To avoid unexpected results caused by shadowed files that share a name, specify a fully qualified file name.
Example:万博1manbetx仿真软件。MDLInfo('vdp')
万博1manbetx仿真软件。MDLInfo('vdp')
Example:万博1manbetx仿真软件。MDLInfo('mymodel.slx')
万博1manbetx仿真软件。MDLInfo('mymodel.slx')
Example:万博1manbetx仿真软件。MDLInfo('mydir/mymodel.slx')
万博1manbetx仿真软件。MDLInfo('mydir/mymodel.slx')
Example:万博1manbetx仿真软件。MDLInfo(“C: / mydir /我model.slx')
万博1manbetx仿真软件。MDLInfo(“C: / mydir /我model.slx')
Data Types:char|string
char
string
万博1manbetx仿真软件。MDLInfo|万博1manbetx仿真软件。MDLInfo.getMetadata
万博1manbetx仿真软件。MDLInfo.getMetadata
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office