Display version and location information for MATLAB Runtime installer corresponding to current platform
[
INSTALLER_PATH
, MAJOR
, MINOR
, PLATFORM
]
= mcrinstaller;
Displays information about available MATLAB® Runtime installers using the format:
[
where:INSTALLER_PATH
, MAJOR
, MINOR
, PLATFORM
]
= mcrinstaller;
is
the full path to the installer for the current platform.INSTALLER_PATH
MAJOR
is the major version
number of the installer.
MINOR
is the minor version
number of the installer.
PLATFORM
is the name of
the current platform (returned by COMPUTER
(arch
)).
If no MATLAB Runtime installer is found, you are prompted to download an installer using the
command compiler.runtime.download
.
Note
You must distribute the MATLAB Runtime library to your end users to enable them to run applications developed with MATLAB Compiler™ or MATLAB Compiler SDK™.
See Install and Configure the MATLAB Runtime (MATLAB Compiler SDK)for more information about the MATLAB Runtime installer.
Display the location of MATLAB Runtime installers for a particular platform. This example shows output
for a win64
system. The release number is called
R20xxx
indicating the release for which the MATLAB Runtime installer has been downloaded.
mcrinstaller
C:\Program Files\MATLAB\R20xxx\toolbox\compiler\deploy\win64\MCR_R20xxx_win64_installer.exe
For example, for R2018b, the path would be:
C:\Program Files\MATLAB\R2018b\toolbox\compiler\deploy\win64\MCR_R2018b_win64_installer.exe