I installed the version is MATLAB (R2010B)
The packaging steps are as follows:
The MATLAB command window enters Deploytool and opens a Eeployment Project window:
1. In name, enter the name of the file you want to pack;
2. Enter your current MATLAB path in location;
3. At Target Select the first Windows Standalone application;
4. After determining Open depolyment tool window, there is an [add main file] in the window, click on it to increase the file you want to convert, and finally click on the package.
To use the steps on a computer that does not have MATLAB installed:
First copy two files from the computer on which MATLAB is installed:
1. "MCRInstaller.exe" (under the MATLAB installation directory "*:\program Files\matlab\r2010b\toolbox\compiler\deploy\win32");
2. Copy the EXE in the generated installation package, such as: "... \zhytool\untitled2\src" in the generated package, and locate the Untitled2.exe.
Then take these two EXE files to a new computer without MATLAB:
1. Double click "MCRInstaller.exe", all the options default until the installation is complete;
2. Double-click the Untitled2.exe to use.