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

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.

Antworten (1)

Pawel Ladosz
Pawel Ladosz am 25 Aug. 2016

0 Stimmen

Did you try enable Subsystem block?

2 Kommentare

Dillon Hillegeist
Dillon Hillegeist am 25 Aug. 2016
Bearbeitet: Dillon Hillegeist am 25 Aug. 2016
If I did use an enabled subsystem block what block would I use inside it?
Pawel Ladosz
Pawel Ladosz am 26 Aug. 2016
MATLAB function block

Melden Sie sich an, um zu kommentieren.

Kategorien

Gefragt:

am 24 Aug. 2016

Kommentiert:

am 26 Aug. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by