MATLAB Compiler Previous page   Next Page
buildmcr

Generate MCRInstaller archive

Syntax

Description

The buildmcr function builds the MCRInstaller archive, MCRInstaller.zip, in the default directory. The archive is a ZIP file of the files required for the MCR. Directories are created as needed.

Examples

Example 1

This example builds MCRInstaller.zip in the default directory. It returns nothing (unless it encounters an error or it is not the first time).

Example 2

This example builds MCRInstaller.zip in the default directory and returns the path of the generated ZIP file in mcr_zipfile as

Example 3

This example returns the ZIP file in

Example 4

returns the ZIP file in

Example 5

This example builds MCRInstaller.zip in the current directory and returns

Example 6

This example builds my.zip in the current directory and returns

Example 7

This example returns the list of the files in the ZIP file in mcrlist. It is a cell array of paths each relative to the MATLAB root directory. If the ZIP file already exists, nothing is done and a warning is produced. The required list is constructed from the installer files and pruned appropriately.


Previous page  %#function isdeployed Next page

© 1994-2005 The MathWorks, Inc.