How can I pass command line arguments to a standalone MATLAB executable running on Linux/Unix?

前端 未结 3 1128
傲寒
傲寒 2020-12-09 02:37

How can I pass command line arguments to a standalone MATLAB executable running on Linux/UNIX?

I need to compile my MATLAB script as a standalone file that can be r

3条回答
  •  醉话见心
    2020-12-09 03:18

    You can't really run MATLAB on a computer without MATLAB. You can install the MCR (MATLAB Component Runtime), which is free to install, and run MATLAB programs. To build a 'standalone' executable you'll also need the MATLAB compiler.

    Once you have all that. MATLAB has all the facilities you need to handle command line arguments in the way your require.

提交回复
热议问题