How do I pass arguments into and out of my standalone executable?

105 views (last 30 days)
I want to be able to pass input and output arguments to my standalone application when I bang out to the DOS shell from MATLAB.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 3 Nov 2021
Edited: MathWorks Support Team on 4 Nov 2021

More Answers (1)

Antti
Antti on 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.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!