- Move the entire process to within MATLAB. If this is what you need to do, you can also run operating system commands from within MATLAB using system.
- Set up an automation server or use the MATLAB Engine API for .NET to control MATLAB from outside. (https://www.mathworks.com/help/matlab/call-matlab-com-automation-server.html).
Run matlab command from Windows cmd line in already open Matlab instance
17 ビュー (過去 30 日間)
古いコメントを表示
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 ?
0 件のコメント
回答 (1 件)
Harald
2023 年 12 月 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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!