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

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)

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

Products

Release

R2022a

Asked:

on 1 Dec 2023

Answered:

on 1 Dec 2023

Community Treasure Hunt

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

Start Hunting!