How to open a script in a running MATLAB instance with Windows Command Line?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Double-click a script file in Windows File Explorer will open the script in a running MATLAB instance if it exists. Only when no instances are running will a new instance start. However in Windows commandline:
matlab SomeScript.m
This command will always start a new MATLAB instance, regardless of whether any instances are running. Is there a way to fully mimic the double-click behavior in Windows Commandline?
After all, how does MATLAB tell whether I'm calling it by double-click on a script or in cmd?
0 Kommentare
Antworten (1)
Smitesh Patil
am 19 Jul. 2021
Here are all the options available while launching matlab from cmd. However there doesn't seem to be any option to open without starting new instance.
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!