Run MATLAB twice at the same time

11 Ansichten (letzte 30 Tage)
Hayder Makhzom
Hayder Makhzom am 25 Jan. 2022
Kommentiert: Hayder Makhzom am 27 Jan. 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.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by