mdl2struct.m

Convert Simulink source file to structure.
2.3K 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 (2024). 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 Linux
Categories
Find more on Prepare Model Inputs and Outputs in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0