Run MATLAB twice at the same time

I have to collect data by Simulink file and I need many times to run MATLAB code. So, my question is;
Can I run MATLAB twice at the same time for the same code?
If yes, Are there any differences in the data obtained?
Thank you in advance.

 Respuesta aceptada

Rik
Rik el 25 de En. de 2022

0 votos

You mean you want to have two separate instances of Matlab running? That is possible. Running the same function is also not a problem.
However, if your function is setting up a connection with a physical device, there may be a problem. Some devices will only allow a single connection.
If it does accept two connections, the only difference in the data will be the time difference in starting the function.

1 comentario

Hayder Makhzom
Hayder Makhzom el 27 de En. de 2022
Thank you very much Rik, for your kind answer, really I am grateful to you.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simultaneous and Synchronized Operations en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 25 de En. de 2022

Comentada:

el 27 de En. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by