How do I trigger a .mfile to run from simulink?

2 views (last 30 days)
I have a simulink model that I'm using with a real-time machine. I want to take the .dat files from the real time machine and change them into csv files. I already can do it with a .mfile but I only want this to run this during certain conditions in my simulink model. Any ideas? Thanks.

Answers (1)

Pawel Ladosz
Pawel Ladosz on 25 Aug 2016
Did you try enable Subsystem block?
  2 Comments
Dillon Hillegeist
Dillon Hillegeist on 25 Aug 2016
Edited: Dillon Hillegeist on 25 Aug 2016
If I did use an enabled subsystem block what block would I use inside it?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!