How to avoid opening multiple instances of MATLAB from command prompt?

2 views (last 30 days)
Here is the command:
call matlab -nosplash -r sample.m -logfile log_"+file+".txt
If I run, it is opening multiple matlab instances.Is there any way we can avoid that and only one instance can work?

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!