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

42 次查看(过去 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
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