Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 character vectors 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 and Configure the MATLAB Runtimefor 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 MATLAB Runtime Installer, version 9.0.1, is:
    C:\Program Files\MATLAB\R2016a\toolbox\compiler\deploy\win64\MCRInstaller.exe

MATLAB Runtime installers for other platforms are located in:
    C:\Program Files\MATLAB\R2016a\toolbox\compiler\deploy\<ARCH>
    <ARCH> is the value of COMPUTER('arch') on the target machine.

Full list of available MATLAB Runtime installers:
   C:\Program Files\MATLAB\R2016a\toolbox\compiler\deploy\win64\MCRInstaller.exe

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

ans =

C:\Program Files\MATLAB\R2016a\toolbox\compiler\deploy\win64\MCRInstaller.exe

Introduced in R2009a

Was this topic helpful?