Using Matlab Runtime Compiler


Could you please clarify of using Matlab Runtime compiler under neurodocker. From the point if I have matlab script file how could I compile a prj with MCR. to run uit from terminal?


Hi @Relyativist,

Using Matlab’s “deploytool” you can package your matlab script so it can run in an environment which doesn’t have matlab installed or a matlab licence. If your script doesn’t generate any guis, it can be compiled as a command line executable and run/called from the terminal. Have a look at the deploytool help, or maybe this tutorial: Once the script is compiled/deployed, you could then include it in a docker/singularity image, and share the fruits of your labour!

Hope this is what you were looking for!