Run matlab command from Windows cmd line in already open Matlab instance

17 views (last 30 days)
I want to run different scripts from the command line (Over several hours), using
matlab -batch "..."
However this will always open a new matlab instance, I want it to run quicker and use an already open matlab instance, is this possible to specify with matlab -batch ?

Answers (1)

Harald
Harald on 1 Dec 2023
Hi Christian,
I would not know how to prevent the matlab command from starting a new MATLAB session. Alternatives may be to:
Best wishes,
Harald

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!