For ex., I have Program 1 & Program 2, when I run commandPrograms program it will open up two buttons. One button will turn on and off Program 1, and the other button will turn on and off Program 2. I can turn on and off each program (Program 1 & Program 2) separately using the button brought up by the commandPrograms.
All programs in Matlab.
I have tried running it using batch parallelization, but quite unfamiliar and a beginner.
How can I run 2 separate programs simultaneously, each turned on and off by separate buttons?
Programs 1 & 2 do not interact. Unfortunately, I need to do it in Matlab.