Application compiler: Command line Input type options missing
5 views (last 30 days)
I am using Application compiler for generating a standalone application. I'm following the documenttaion available here
I don't find the `Command line Input type options` shown here ( https://in.mathworks.com/help/compiler/create-and-install-a-standalone-application-from-matlab-code.html ) above Additional installer options.
I'm using 2021a.
Could someone help me with this? I'd like to include `Command line Input type options` to pass input arguments to the executable file.
Kojiro Saito on 3 Aug 2021
Edited: Kojiro Saito on 3 Aug 2021
"Command line input type options" will be shown if m file is a function.
In the documentation example which you mentioned, the magicsquare.m file is a function.
function m = magicsquare(n)
m = magic(n);
It seems that your main.m is a script file.
For detail about script vs function, this document will be helpful.