필터 지우기
필터 지우기

Execute script from command line to existing MATLAB instance

조회 수: 7 (최근 30일)
Marco Pasquali
Marco Pasquali 2018년 4월 6일
댓글: Marco Pasquali 2018년 4월 10일
I know I can execute a script from my OS command line with matlab -r "my_file", eventually using -nodesktop to have the output printed in the same window. The problem is that this operation creates a new MATLAB instance to execute the script.
My question is: is it possible to have the script executed in an already open MATLAB instance?

채택된 답변

Walter Roberson
Walter Roberson 2018년 4월 6일
"is it possible to have the script executed in an already open MATLAB instance?"
No.
In some cases needs related to this can be met by using the MATLAB API; see https://www.mathworks.com/help/matlab/programming-interfaces-for-external-languages.html

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by