how to link simulink and m file

3 Ansichten (letzte 30 Tage)
Amir
Amir am 27 Sep. 2013
Beantwortet: Jesús Zambrano am 7 Feb. 2020
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 Kommentar
Azzi Abdelmalek
Azzi Abdelmalek am 27 Sep. 2013
What your m file do and how is it related to your simulink model?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jesús Zambrano
Jesús Zambrano am 7 Feb. 2020
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

Kategorien

Mehr zu Interactive Model Editing finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by