how to link simulink and m file

6 visualizaciones (últimos 30 días)
Amir
Amir el 27 de Sept. de 2013
Respondida: Jesús Zambrano el 7 de Feb. de 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 comentario
Azzi Abdelmalek
Azzi Abdelmalek el 27 de Sept. de 2013
What your m file do and how is it related to your simulink model?

Iniciar sesión para comentar.

Respuestas (1)

Jesús Zambrano
Jesús Zambrano el 7 de Feb. de 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

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by