MATLAB Deployment Checklist
===========================
Before you deploy your application, component, or library,
use this checklist to ensure you create a complete deployment package.
You can distribute a MATLAB Compiler-generated standalone
application, component, or library to any target machine with
the same operating system as the machine on which
the application was compiled (the "source" development machine).
For more information, see the documentation for the MATLAB Compiler at:
http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/
NOTE: Items enclosed in angle brackets ( < > ) are variables.
1. Ensure that the MATLAB Component
Runtime (MCR) is installed on target machines, and ensure you
have installed the correct version. To verify this, do the following:
A. Attempt to verify the MCR exists on your system.
The MCR usually resides in these locations on these platforms:
Operating System Path to MCR
================ ===========
Windows C:\Program Files\MATLAB\MATLAB Component Runtime\v76
Mac/Intel Mac Applications/MATLAB/MATLAB_Component_Runtime/
Linux *** No predetermined installation location ***
Contact your system administrator.
*IMPORTANT: Always attempt to locate an existing MCR on your
system before using the BUILDMCR command to create
an MCR. If you must create an MCR, see the Compiler
documentation for more details
B. MATLAB 2007a uses MCR version 7.6. To verify
the version number of the installed MCR, type the following command:
[mcrmajor,mcrminor]=mcrversion
at the MATLAB command prompt.
2. Add the MCR directory to the path specified by the target system's
environment variable.
A. Locate the name of the environment variable to set, using the
table below:
Operating System Environment Variable
================ ====================
Windows PATH
Linux LD_LIBRARY_PATH
Solaris LD_LIBRARY_PATH
Mac DYLD_LIBRARY_PATH
B. Set the path by doing one of the following:
On Windows systems:
* Add the MCR directory to the environment variable by opening a
command prompt and issuing the DOS command:
set PATH=C:\Program Files\MATLAB\MATLAB Component
Runtime\v76;%PATH%
or, add:
C:\Program Files\MATLAB\MATLAB Component Runtime\v76
to the PATH environment variable by doing the following:
1. Select the My Computer icon on your desktop.
2. Right-click the icon and select Properties from the menu.
3. Select the Advanced tab.
4. Click Environment Variables.
Your environment variables are listed.
On UNIX systems:
* Add the MCR directory to the environment variable by issuing
this command:
setenv PATH /<matlabroot>/v76:"$PATH"
To make this change persistent after logout on UNIX machines,
modify the .cshrc file to include this setenv command.
NOTE: On Windows, the Environment Variable syntax utilizes
backslashes (\), delimited by semi-colons (;). On UNIX,
the EV syntax utilizes forward
slashes (/), delimited by colons (:).
NOTE: When deploying C and C++ standalone applications, it is possible
to run the shell script file run_zcf.sh on UNIX and Mac
instead of setting environment variables. See "Requirements
for Standalone Applications," below.
3. Create packages that contain the following files, based on what
you are deploying:
Requirements for Standalone Applications:
=========================================
All Platforms:
* zcf.ctf (Component Technology File archive,
platform-dependent on target machine)
Windows:
* MCRInstaller.exe (self-extracting MATLAB Component Runtime
library archive)
* zcf.exe (application created by MATLAB Compiler)
UNIX:
* MCRInstaller.zip (MATLAB Component Runtime library
archive - manual unzip required)
* zcf (application created by MATLAB Compiler)
* run_zcf.sh (shell script that can be run
to temporarily set environment paths and execute the application)
Requirements for C and C++ shared libraries:
============================================================
All Platforms:
* zcf.dll (shared library, file extension
varies by platform)
* zcf.h (library header file)
* zcf.ctf (Component Technology File archive,
platform-dependent on target machine)
Windows:
* MCRInstaller.exe (self-extracting MATLAB Component Runtime
library archive)
UNIX:
* MCRInstaller.zip (MATLAB Component Runtime library
archive - manual unzip required)
* unzip (optional utility to unzip MCRInstaller.zip)
Requirements for .NET Components (Windows only):
================================================
* zcf.ctf (Component Technology File archive)
* zcf.xml (documentation files)
* zcf.pdb (program database file - if
DEBUG option selected)
* zcf.dll (component assembly file)
* MCRInstaller.exe (self-extracting MATLAB Component Runtime
library archive)
Requirements for COM Components (Windows only):
===============================================
* zcf.ctf (Component Technology File archive)
* zcf_1_0.dll (component containing
compiled M-code)
* _install.bat (script run by self-extracting executable)
* MCRInstaller.exe (self-extracting MATLAB Component Runtime
library archive)
Requirements for Java Components (All Platforms):
=================================================
* zcf.jar (Java archive containing Java
interface to M-code in zcf.ctf)
* zcf.ctf (Component Technology File archive,
platform-dependent on target machine)
Requirements for COM Components for Use with Microsoft Excel (Windows only):
============================================================================
* zcf_1_0.dll (component containing
compiled M-code)
* zcf.ctf (Component Technology File archive)
* _install.bat (script run by self-extracting executable)
* <add_in_file>.xla (Excel add-ins found in:
E:\new\zcf\src\distrib directory)
* MCRInstaller.exe (self-extracting MATLAB Component Runtime
library archive)
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
VB+Matlab混合编程做的自动化主成分分析软件 (146个子文件)
readline_mexw32.auth 659B
libmwslicot_dll.auth 644B
deploywhich_mexw32.auth 644B
Module1.bas 238B
compopts.bat 3KB
_install.bat 359B
mwcomtypes_p.c 486KB
zcf_idl_p.c 91KB
zcf_mcc_component_data.c 7KB
mwcomtypes_i.c 2KB
zcf_idl_i.c 1KB
dlldata.c 907B
zcfclass_com.cpp 2KB
zcf_dll.cpp 2KB
libmwslicot.dll.csf 3KB
zcf.ctf 578KB
zcf.ctf 578KB
cert8.db 64KB
secmod.db 16KB
key3.db 16KB
zcf.def 154B
libmwslicot.dll 236KB
zcf_1_0.dll 96KB
zcf_1_0.dll 96KB
自动化主成分分析系统.exe 80KB
zcf_1_0.exp 1020B
FigureMenuBar.fig 10KB
FigureToolBar.fig 7KB
Frmbiplot.frm 7KB
Frmzcf.frm 7KB
Frmscores.frm 5KB
Frmcoefs.frm 5KB
Frmexcel.frm 5KB
Frmpercent_explained.frm 5KB
Frmvariances.frm 5KB
Form1.frm 4KB
mwcomtypes.h 129KB
zcf_idl.h 14KB
zcfclass_com.hpp 2KB
zcf_idl.idl 2KB
control.jar 322KB
database.jar 26KB
zcf_1_0.lib 2KB
build.log 15KB
mccExcludedFiles.log 2KB
deployprint.m 4KB
inputdlgerrorlog.m 4KB
matlabrc.m 4KB
reporterrorlogs.m 4KB
biplot.m 4KB
pathdef.m 3KB
questdlgerrorlog.m 3KB
fetch.m 3KB
princomp.m 3KB
attr.m 3KB
fastinsert.m 3KB
update.m 2KB
setdbprefs.m 2KB
hgrc.m 2KB
insert.m 2KB
database.m 2KB
ping.m 2KB
cursor.m 2KB
series.m 2KB
statgetargs.m 2KB
logintimeout.m 2KB
get.m 2KB
printopt.m 2KB
get.m 2KB
runstoredprocedure.m 2KB
set.m 2KB
fetch.m 1KB
subsref.m 1KB
rowlimit.m 1KB
setdefaultbutton.m 1KB
columnnames.m 1KB
prncp.m 1KB
get.m 1KB
printdlg.m 1KB
initprefs.m 1KB
fetchmulti.m 1KB
set.m 1KB
exec.m 1KB
prncp.m 1KB
width.m 1KB
paretoplot.m 1KB
cols.m 1KB
display.m 1KB
paretoplot.m 1KB
get.m 1KB
Contents.m 1KB
pplot.m 1KB
fopen.m 1KB
querytimeout.m 1KB
rsmd.m 1KB
userpath.m 1KB
rows.m 1KB
pplot.m 1KB
chkprops.m 1019B
commit.m 1004B
共 146 条
- 1
- 2
资源评论
tianxicool
- 粉丝: 8
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功