How do I pass arguments to my standalone executable created with MATLAB Compiler?

조회 수: 36 (최근 30일)
I want to pass input and output arguments to my standalone application when I execute it from the Windows Command Prompt. How can I achieve this?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2024년 10월 9일
편집: MathWorks Support Team 2024년 10월 9일
For detailed instructions on how to pass arguments to a standalone executable created with MATLAB Compiler, please refer to the official MATLAB documentation:
Note that you cannot return values from your standalone application to the user. 

추가 답변 (1개)

Antti
Antti 2018년 1월 26일
Note that in R2017b (and possibly beyond) on Windows 10, no output is printed on the Windows command prompt unless you uncheck "Do not display the Windows command shell (console) for execution" under "Additional runtime settings" in the Application Compiler tool of MATLAB Compiler.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by