필터 지우기
필터 지우기

M file starten in Simulink

조회 수: 3 (최근 30일)
Owen
Owen 2012년 11월 10일
Hi,
I have an M file (also a function) which includes the "sim()" command. This M file is used to start the Simulink simulation.
Is it possible to run this M file in Simulink, that is, by clicking some button?
Generally an M file can be integrated into an S function block, but this M files contains the "sim()" command.
Thanks Senmeis

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2012년 11월 12일
You can use a Simulink annotation with a Click function to create a hyperlink on the model canvas that will run a MATLAB command upon clicking.

카테고리

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