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

2 vues (au cours des 30 derniers jours)
Dillon Hillegeist
Dillon Hillegeist le 24 Août 2016
Commenté : Pawel Ladosz le 26 Août 2016
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.

Réponses (1)

Pawel Ladosz
Pawel Ladosz le 25 Août 2016
Did you try enable Subsystem block?
  2 commentaires
Dillon Hillegeist
Dillon Hillegeist le 25 Août 2016
Modifié(e) : Dillon Hillegeist le 25 Août 2016
If I did use an enabled subsystem block what block would I use inside it?
Pawel Ladosz
Pawel Ladosz le 26 Août 2016
MATLAB function block

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by