Filter löschen
Filter löschen

Matlab APP from windows cmd

11 Ansichten (letzte 30 Tage)
Przemyslaw Gontar
Przemyslaw Gontar am 23 Nov. 2017
Beantwortet: Walter Roberson am 23 Nov. 2017
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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 23 Nov. 2017
matlab -nosplash -nodesktop -minimize -r "matlab.apputil.run('ThorlabsLC100APP')"

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by