| MATLAB Compiler | ![]() |
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.
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
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.
| %#function | isdeployed | ![]() |
© 1994-2005 The MathWorks, Inc.