Running MATLAB and Simulink in parallel

2 visualizaciones (últimos 30 días)
Dennis Nikitaev
Dennis Nikitaev el 9 de Nov. de 2020
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.

Respuestas (0)

Categorías

Más información sobre Parallel Computing Fundamentals en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by