필터 지우기
필터 지우기

Building a Command line interface for MATLAB standalone application

조회 수: 18 (최근 30일)
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.

채택된 답변

Matt J
Matt J 2012년 9월 30일
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
Matt J
Matt J 2012년 10월 2일
편집: Matt J 2012년 10월 2일
And you want to do this without commands like UIGETFILE,INPUTDLG, MSGBOX, etc...?
Digitalsd
Digitalsd 2012년 10월 2일
Useful comment, Best Regards

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deploy to C++ Applications Using mwArray API (C++03)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by