필터 지우기
필터 지우기

Is it possible to Run 'matlab script .m' and 'simulink model .mdl' independently on same matlab software

조회 수: 2 (최근 30일)
Greetings!
Quirey: Is it possible to run matlab script and simulink model running at the same time. (Showing scopes output in Simulink and output plots in matlab script as well) While running they are not effecting each other speed.
The aim:
  • Simulink generates some results (runtime i.e. online)
  • & the matlab .m file performs extensive analysis meantime
I have slight idea that this could be done by assigning different cores to simulink and matlab scripts. But how is it possible? While generating outputs? .... Please guide.
( The 'parsim' command didnt worked for me, it didnt showed results while running. Moreover, as far I know from my knowlegde the parrallel computing toolbox generally focus on multiple simulink files but my concern is the .m and .mdl file )
  댓글 수: 2
Walter Roberson
Walter Roberson 2023년 11월 17일
https://www.mathworks.com/matlabcentral/answers/2047512-how-to-run-matlab-and-simulink-in-parrallel-such-that-they-dont-effect-each-other-speed?s_tid=srchtitle seems to be the same question
Shafaq Gul
Shafaq Gul 2023년 11월 17일
Thanks for the valuable comment. But their is a bit difference. The current question asks for independent running of the Simulink and matlab. But previous question was asking for data communication as well. Since the question title seems same, may be thats why it gave a look of resemblence ;) . Apologies on that regard.

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

답변 (1개)

Walter Roberson
Walter Roberson 2023년 11월 17일
No, not typically. Typically the speeds would be affected. But depending on the matlab code and the model and the amount of data logged, it might not turn out to be a lot of impact.

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by