MATLAB Answers

Can I run the same Simulink model in different Matlab sessions at the same time? Or would they get mixed up?

6 ビュー (過去 30 日間)
Ana Guerra Langan
Ana Guerra Langan 2019 年 11 月 15 日
Answered: Mark McBroom 2019 年 11 月 17 日
I would like to run my Simulink model on different Matlab sessions/computers so as to get all my results quicker. My question is, since they are al opening the same model and changing parameters in it, are simulations going to get mixed up or does each individual Matlab or computer save the model in memory and runs that without affecting the rest?
Thanks!

  0 件のコメント

サインイン to comment.

採用された回答

Mark McBroom
Mark McBroom 2019 年 11 月 17 日
Each session will be completely independent. The only way to have the sessions interact with each other is if you change the Simulink model in one MATLAB session. If you are using the same model but simply changing workspace parameters in each session, the models will be completely independent.

  0 件のコメント

サインイン to comment.

More Answers (1)

ME
ME 2019 年 11 月 15 日
編集済み: ME 2019 年 11 月 15 日
I can't specifically answer for Simulink because I've never used it but standard Matlab scripts would be fine with this. I imagine that means Simulink would be okay as well.

  2 件のコメント

Ana Guerra Langan
Ana Guerra Langan 2019 年 11 月 15 日
Yea, I'm doubting because I change initial conditions and Simulink block parametrs on each run... so not sure if once I change these on the second or third session it will affect the rest
ME
ME 2019 年 11 月 15 日
If it’s anything like standard Matlab then that definitely won’t be a problem as each instance of MATLAB works independently of the others. One would assume that Simulink would be the same.
Of course, if you aren’t convinced then you could test it with something simple.

サインイン to comment.

サインイン してこの質問に回答します。

製品


リリース

R2018a

Translated by