Getting output from Simulink using m-file (link for m-file in simulink)

조회 수: 3 (최근 30일)
Amir Xz
Amir Xz 2018년 8월 14일
댓글: Amir Xz 2018년 8월 15일
Hi, I wanna create a link in Simulink, something like a link that exist in "ssc_engine_cooling_system". See image below:
What shall I do? Thank you

채택된 답변

Fangjun Jiang
Fangjun Jiang 2018년 8월 14일
Double click the annotation box to enter the "edit" mode, hover over the hyper link and right click, select "Hyperlink ..." and you will see the dialog.
If you want to start from your own, create an annotation text, select them and then right click, select "Hyberlink ..." and then specify "matlab:YourMfile".
  댓글 수: 3
Fangjun Jiang
Fangjun Jiang 2018년 8월 15일
Okay, "matlab:" should not be there.
You can add the folder into MATLAB path.
Or, put in "run('fullpath\testMfile')"
Amir Xz
Amir Xz 2018년 8월 15일
Thank you so so much. It's worked:
matlab:run fullpath\testMfile

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by