how to link simulink and m file

6 次查看(过去 30 天)
Amir
Amir 2013-9-27
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