Running MATLAB and Simulink in parallel

2 ビュー (過去 30 日間)
Dennis Nikitaev
Dennis Nikitaev 2020 年 11 月 9 日
Hello,
I am running two separate Simulink models with a MATLAB code. This needs to be done this way because I am connecting to another program (STK) via MATLAB and the data needs to pass between STK and the two Simulink models. The process is iterative as it is an interactable model. I have noticed that it takes MATLAB a while to execute the commands for STK (6 seconds). During this time, the two Simulink models pause and wait for MATLAB to finish. I tried running this using parallel computing and it seems to have solved this issue. However, a byproduct of this solution is that now I cannot see my scope because the parallel pool starts with conditions of no Java and no display.
Can anyone provide some suggestions or possibly how to force the parallel pool to use Java and have a display. It displays Simulink fine, it's just the scope that gives me an error.

回答 (0 件)

カテゴリ

Help Center および File ExchangeParallel Computing Fundamentals についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by