Skip to Main Content Skip to Search
Home |   Select Country  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Solutions Academia Support User Community Company
spacer spacer spacer spacer spacer spacer

Technical Solutions

What command line arguments are available for the MCRInstaller.bin, the Linux/UNIX/Mac version of the MATLAB Compiler 4.6 (R2007a) runtime libraries?


Date Last Modified: Friday, June 26, 2009
Solution ID:   1-4S5J4N
Product:   MATLAB Compiler
Reported in Release:   R2007a
Fixed in Release:   R2008b
Platform:   UNIX
Operating System:   UNIX Any
 

Subject:

What command line arguments are available for the MCRInstaller.bin, the Linux/UNIX/Mac version of the MATLAB Compiler 4.6 (R2007a) runtime libraries?

Problem Description:

I would like to perform a non-graphical, silent, or otherwise customized install of the MCR on Linux/UNIX/Mac machines. The MATLAB Compiler documentation covers the command-line flags for the Windows versions of MCRInstaller.exe, but not the Linux/UNIX/Mac equivalent MCRInstaller.bin.

Solution:

The documentation for MATLAB 7.7 (R2008b) has been updated to incorporate the relevant information. For previous product releases, read below:

Documentation on the MCRInstaller.bin command-line options is missing from the MATLAB Compiler documentation.

To list the command-line options for MCRInstaller.bin, execute the following command at your system prompt:


MCRInstaller.bin -is:help
As of MATLAB Compiler 4.6 (R2007a), these options are:

Usage : MCRInstaller.bin [OPTIONS] [APPLICATION_ARGUMENTS]

Where OPTIONS include:

-is:javahome <dir> JRE home which points to directory containing bin/java.
-is:tempdir <dir> Temporary directory to be used by the launcher.
-cp:a <classpath> Append <classpath> to the launcher's classpath.
-cp:p <classpath> Prepend <classpath> to the launcher's classpath.
-is:log <filename> Log debug messages to <file>.
-is:extract Extracts the contents of the archive.
-is:nospacecheck Turns off the launcher disk space checking.
-is:version Returns launcher version and exits.
-is:help Prints this help message and exits

This installer also supports the use of the following switches:

-console Run in console (text) mode
-silent Do no display any status messages
-options <file> Use answers from the <file> for install questions
-options-record Use this to record options from an interactive install session to a text file for future use with the -options flag.

For example, to re-use an options file "opts.txt" created during previous installation using the '-option-record' switch, run:

./MCRInstaller.bin -console -silent -options opts.txt

Please provide feedback to help us improve this Solution
Contact support
E-mail this page
Print this page