mcrinstaller

Display version and location information for MATLAB Runtime installer corresponding to current platform

Syntax

[INSTALLER_PATH, MAJOR, MINOR, PLATFORM, LIST] = mcrinstaller;

Description

Displays information about available MATLAB® Runtime installers using the format: [INSTALLER_PATH, MAJOR, MINOR, PLATFORM, LIST] = mcrinstaller; where:

  • INSTALLER_PATH is the full path to the installer for the current platform.

  • 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)).

  • LIST is a cell array of strings containing the full paths to MATLAB Runtime installers for other platforms. This list is non-empty only in a multi-platform MATLAB installation.

    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 the MATLAB Runtime for more information about the MATLAB Runtime installer.

Examples

Find MATLAB Runtime Installer Locations

Display locations of MATLAB Runtime installers for platform. This example shows output for a win64 system.

mcrinstaller
The WIN64 MCR Installer, version 7.16, is:
    X:\jobx\clusterc\current\matlab\toolbox\compiler\
                            deploy\win64\MCRInstaller.exe

MCR installers for other platforms are located in:
    X:\jobx\clusterc\current\matlab\toolbox\compiler\
                     deploy\win64 
    win64 is the value of COMPUTER(win64) on 
           the target machine.

For more information, read your local MCR Installer help.
Or see the online documentation at MathWorks' web site. (Page 
                                              may load slowly.)

ans =

X:\jobx\clusterc\current\matlab\toolbox\compiler\
                            deploy\win64\MCRInstaller.exe
Was this topic helpful?