how to link simulink and m file

조회 수: 6 (최근 30일)
Amir
Amir 2013년 9월 27일
답변: Jesús Zambrano 2020년 2월 7일
hi ,I have my simulation and the m file ready, but whenever I run the m file I don't get my graphs! do I have to connect them together somehow? thnks
  댓글 수: 1
Azzi Abdelmalek
Azzi Abdelmalek 2013년 9월 27일
What your m file do and how is it related to your simulink model?

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

답변 (1개)

Jesús Zambrano
Jesús Zambrano 2020년 2월 7일
Hi Amir,
Your m-file should at least include the command sim in order to simulate the Simulink model programmatically. Read more about the command in the following link

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by