Building a Command line interface for MATLAB standalone application

3 Ansichten (letzte 30 Tage)
I have an application written in MATLAB which needs to import some external data. I want to compile the program in order to build a standalone EXE file and I need a simple way to export some file names paths and some numbers to the application. I am thinking about some thing like command window or command line interface (NOT GUI). Do some body have any suggestions. Regards.

Akzeptierte Antwort

Matt J
Matt J am 30 Sep. 2012
Arguments can always be passed to a standalone from the command line. They will be interpreted as string arguments to the underlying mfile code. For example,
myEXE A B C
is equivalent to
myMFile('A','B','C'); %The source code for myEXE
  5 Kommentare
Matt J
Matt J am 2 Okt. 2012
Bearbeitet: Matt J am 2 Okt. 2012
And you want to do this without commands like UIGETFILE,INPUTDLG, MSGBOX, etc...?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Compiler 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