MATLAB: How to write the Matlab code so that its standalone application program takes multiple input files

MATLAB Compiler

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.
Benson

Best Answer

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,