Run two scripts simultaneously matlab

4 views (last 30 days)
Sigrid
Sigrid on 25 Oct 2021
Edited: Bruno Luong on 27 Oct 2021
Hi all :)
I am using 2 usrp and matlab, to transmit and receive packets. I would like run the scipts for transmitting and receiving simultaneously. Could anyone help me how to do that? The scripts are independent from each other.
Thank you

Answers (2)

Bruno Luong
Bruno Luong on 27 Oct 2021
Edited: Bruno Luong on 27 Oct 2021
Somewhat possible with
parfeval
But I would agree with Jan, runing two Matlab sessions is perhaps easiest.

Jan
Jan on 25 Oct 2021
The easiest way is to start 2 Matlab sessions.
  2 Comments
Sigrid
Sigrid on 26 Oct 2021
Thank you for your answer Jan. I know that I can start 2 Matlab sessions, but is there any other way to run the scripts simultanously, starting them at the same time, without opening 2 Matlab sessions?
Jan
Jan on 27 Oct 2021
No, not in Matlab. Even "starting at the same time" is fragile. Which accuracy do you need?

Sign in to comment.

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!