2.4K Downloads
Updated
5 Jun 2003
No License
MDL2STRUCT Convert Simulink source file to structure
MDL = MDL2STRUCT(FILENAME) read a Simulink source file given
by the string FILENAME and converts it to a structure MDL that
containts all the information of the Simulink souce file in
hierarchical order (watch any .mdl file in an ASCII viewer to
see what that means).
Example: myModel = mdl2struct('C:\MATLAB\work\mySimulinkModel.mdl')
Cite As
Kaspar Thommen (2026). mdl2struct.m (https://www.mathworks.com/matlabcentral/fileexchange/3539-mdl2struct-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Prepare Model Inputs and Outputs in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
