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

39 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 9 Oct 2024
Modifié(e) : MathWorks Support Team le 9 Oct 2024
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. 

Plus de réponses (1)

Antti
Antti le 26 Jan 2018
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.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by