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

조회 수: 4 (최근 30일)
Dillon Hillegeist
Dillon Hillegeist 2016년 8월 24일
댓글: Pawel Ladosz 2016년 8월 26일
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.

답변 (1개)

Pawel Ladosz
Pawel Ladosz 2016년 8월 25일
Did you try enable Subsystem block?
  댓글 수: 2
Dillon Hillegeist
Dillon Hillegeist 2016년 8월 25일
편집: Dillon Hillegeist 2016년 8월 25일
If I did use an enabled subsystem block what block would I use inside it?
Pawel Ladosz
Pawel Ladosz 2016년 8월 26일
MATLAB function block

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by