필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to transfer inputs through matlab script to Matlab standalone .exe

조회 수: 1 (최근 30일)
adi kul
adi kul 2017년 2월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello All, I have built the standalone .exe for one of my equation calculations. It takes couple of inputs rom user in a edit box and I have couple of drop down menus as well. What I was looking for is a way which I can automate the process. I tried system() and was able to open the application but the inputs were not getting transfered. Is there any documentation or way to do this stuff through matlab ?

답변 (1개)

Walter Roberson
Walter Roberson 2017년 2월 17일
You could rewrite the code so that the main function of the executable took inputs on the command line and acted on them.
Or you could use Java Robot class.
But I wonder if you should perhaps have gone for creating a mex or dll instead of a standalone .exe ?

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by