Automate download and installation of MATLAB Compiler Runtime?
8 views (last 30 days)
Omar Van Eer on 1 Dec 2021
I am currently working on the distribution of a Python package that uses MATLAB functions to do some data analysis. I have gotten MATLAB Runtime working within the package but the user still needs to download and install the correct version of MATLAB Compiler SDK onto their computer in order for it to work. My end goal is to have the package distributable to people without them having to do any kind of manual setup.
I have seen the instructions for a silent installation of MCR and was wondering if there would be away to automate the downloading of the files needed to run a silent installation.
Kiran Felix Robert on 6 Dec 2021
Please refer the compiler.runtime.download documentation to download MCR from command line.
You can then use one of the Non-Interactive or Silent installation methods to install MCR on the target.
Also refer System - Execute operating system command and return output, to issue OS commands which you might need during the install.