Run MATLAB twice at the same time

10 visualizzazioni (ultimi 30 giorni)
Hayder Makhzom
Hayder Makhzom il 25 Gen 2022
Commentato: Hayder Makhzom il 27 Gen 2022
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.

Risposta accettata

Rik
Rik il 25 Gen 2022
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 Commento
Hayder Makhzom
Hayder Makhzom il 27 Gen 2022
Thank you very much Rik, for your kind answer, really I am grateful to you.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by