Error when trying to run multiple instances of Simulink model in rapid accelerator mode?

2 ビュー (過去 30 日間)
When I run the model on one instance of Matlab in rapid accelerator mode, it just works fine. I can also run the model by opening multiple instances of Matlab in Normal and Accelerator modes. However, I get an the error below, when I try to run the same model by opening multiple instances of Matlab in rapid accelerator mode.
I thing there is a conflict when the instances simultaneously try to access the auto-generated slprj folder that contains the simulation targets. However, I don't know how to get around it.
  2 件のコメント
Usha Duddu
Usha Duddu 2016 年 1 月 7 日
編集済み: Usha Duddu 2016 年 1 月 7 日
Hello Ahmed
I understand that you are running into errors on running same model in multiple instances of MATLAB in rapid accelerator mode.
I have a few questions to ask you- 1. Are you generating the target in both the instances of MATLAB before running the model ?
2. Are you generating the target in only 1 instance of MATLAB and running the model in both the instances?
Thanks
Usha
Ahmed Rashid
Ahmed Rashid 2016 年 5 月 30 日
Sorry for my late reply, but I solved the problem long time ago. I fixed the problem by generating a separate slprj file for each instance. You can control the generation of the folder with the command
Simulink.fileControl
Thank you for your answer.

サインインしてコメントする。

採用された回答

Ahmed Rashid
Ahmed Rashid 2016 年 5 月 30 日
I fixed the problem by generating a separate slprj file for each instance. You can control the generation of the folder with the command
Simulink.fileControl

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCall C++ from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by