Connect windows standalone aplication to command line

조회 수: 2 (최근 30일)
Hugo
Hugo 2014년 1월 22일
답변: Amit 2014년 1월 22일
I created a matlab function which needs two variables a load directory and a save directory. With this function i created a windows standalone application with the MATLAB compiler.
I want to run my application in an excisting program in which i will select the data to load. I know the command line of this program is as follows:
program.bat -r /returndir /seriesdir -r0
I assume the returndirectory is my save directory and the seriesdirectory my load directory. My question is how do i start my matlab function and connect it to the command line above?
For example should i start my function like:
Fucntion [output] = MyProgram (returndir, seriesdir)
In othter words how do i connect the directories in my command line to the variables in my function? And is it possible to test this from the cmd prompt?

채택된 답변

Amit
Amit 2014년 1월 22일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by