How to write my Matlab code so that its standalone application program takes multiple input files?

3 views (last 30 days)
Dear All,
I want to design my standalone application code (.exe file generated by Matlab compiler) which takes input files as follows:
> Standalone_Code.exe <file1> <file2> <file3> <file4>
I am wondering if it is possible to write my Matlab code so that I can run its standalone applicaton code as the above.
Thanks a lot.

Accepted Answer

Matt J
Matt J on 17 Jun 2020
Edited: Matt J on 17 Jun 2020
It should work just as you've shown. Just write your mcode to accept input arguments as you would write a non-deployed mfile. See also,

Sign in to comment.

More Answers (0)


Find more on Application Deployment in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by