How do I generate an m file (.m file) from a Matlab model (.mdl or .slx)?

3 views (last 30 days)
I am trying to understand a demo model in Matlab. So I want to get the equations for this model. Is it possible to generate an m file (.m file) that contains the equations etc. used to create any model in Matlab? If so how? I appreciate your help. Thanks

Answers (0)

Community Treasure Hunt

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

Start Hunting!