필터 지우기
필터 지우기

Matlab APP from windows cmd

조회 수: 11 (최근 30일)
Przemyslaw Gontar
Przemyslaw Gontar 2017년 11월 23일
답변: Walter Roberson 2017년 11월 23일
Hello, I wrote app in matlab but created .exe dont run properly (a lot of broken function). So I want open packaged and installed APP in Matlab from Windows cmd. So I run:
matlab -nosplash -nodesktop -minimize -r 'matlab.apputil.run('ThorlabsLC100APP')'
But I have error:
Error: Unexpected MATLAB expression.
I must add that running:
matlab.apputil.run('ThorlabsLC100APP')
in Matlab gui work. So my question is: there is any option to run app from cmd using only matlab command window ? I want create .bat file and double-clicking on it will open app.
Thanks

채택된 답변

Walter Roberson
Walter Roberson 2017년 11월 23일
matlab -nosplash -nodesktop -minimize -r "matlab.apputil.run('ThorlabsLC100APP')"

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by