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

1 view (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.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!