MATLAB Deployment Checklist
===========================
Use this checklist to successfully deploy your application, component,
or library.
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: Replace the items enclosed in angle brackets ( < > ) with your own
values.
1. Ensure that the MATLAB Compiler 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 Compiler Runtime\v78
Mac Applications/MATLAB/MATLAB_Compiler_Runtime/v78
Linux/Solaris *** No predetermined installation location ***
Contact your system administrator.
NOTE: For information about the installation process and the MCR,
type "help MCR" or "help mcrinstaller" at the MATLAB
command prompt.
B. MATLAB 2008a uses MCR version 7.8. 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, specifying either
win32 or win64:
set PATH=C:\Program Files\MATLAB\MATLAB Compiler Runtime\v78\runtime\{win32|win64};%PATH%
Alternately, for Windows, add the following pathname:
C:\Program Files\MATLAB\MATLAB Compiler Runtime\v78\runtime\{win32|win64}
to the PATH environment variable, specifying either win32 or win64,
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.
On UNIX systems:
* Add the MCR directory to the environment variable by issuing
the following commands:
Linux
setenv LD_LIBRARY_PATH
<mcr_root>/v78/runtime/glnx86:
<mcr_root>/v78/sys/os/glnx86:
<mcr_root>/v78/sys/java/jre/glnx86/jre1.6.0/lib/i386/native_threads:
<mcr_root>/v78/sys/java/jre/glnx86/jre1.6.0/lib/i386/server:
<mcr_root>/v78/sys/java/jre/glnx86/jre1.6.0/lib/i386
setenv XAPPLRESDIR <mcr_root>/v78/X11/app-defaults
Solaris64
setenv LD_LIBRARY_PATH /usr/lib/lwp:
<mcr_root>/v78/runtime/sol64:
<mcr_root>/v78/sys/os/sol64:
<mcr_root>/v78/sys/java/jre/sol64/jre1.6.0/lib/sparcv9/native_threads:
<mcr_root>/v78/sys/java/jre/sol64/jre1.6.0/lib/sparcv9/server:
<mcr_root>/v78/sys/java/jre/sol64/jre1.6.0/lib/sparcv9
setenv XAPPLRESDIR <mcr_root>/v78/X11/app-defaults
Linux x86-64
setenv LD_LIBRARY_PATH
<mcr_root>/v78/runtime/glnxa64:
<mcr_root>/v78/sys/os/glnxa64:
<mcr_root>/v78/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/native_threads:
<mcr_root>/v78/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/server:
<mcr_root>/v78/sys/java/jre/glnxa64/jre1.6.0/lib/amd64
setenv XAPPLRESDIR <mcr_root>/v78/X11/app-defaults
Mac
setenv DYLD_LIBRARY_PATH
<mcr_root>/version/runtime/maci:
<mcr_root>/version/sys/os/maci:
<mcr_root>/version/bin/maci:
/System/Library/Frameworks/JavaVM.framework/JavaVM:
/System/Library/Frameworks/JavaVM.framework/Libraries
setenv XAPPLRESDIR <mcr_root>/version/X11/app-defaults
NOTE: To make theses changes persistent after logout on UNIX or
Mac 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_libvsunitcircle.sh
on UNIX and Mac instead of setting environment variables.
See "Requirements for Standalone Applications," below.
3. Collect the following files, based on what you are deploying:
Requirements for Standalone Applications:
============================================================
All Platforms:
* libvsunitcircle.ctf (If present)(Component Technology File archive,
platform-dependent on target machine)
Windows:
* MCRInstaller.exe (self-extracting MATLAB Compiler Runtime
installer)
* libvsunitcircle.exe (application created by MATLAB Compiler)
UNIX:
* MCRInstaller.bin (MATLAB Compiler Runtime installer)
* libvsunitcircle (application created by MATLAB Compiler)
* run_libvsunitcircle.sh (shell script that can be run to
temporarily set environment paths and execute the application)
Mac:
* MCRInstaller.dmg (MATLAB Compiler Runtime installer)
* libvsunitcircle (application created by MATLAB Compiler)
* run_libvsunitcircle.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:
* libvsunitcircle.dll (shared library, file extension varies by
platform)
* libvsunitcircle.h (library header file)
* libvsunitcircle.ctf (If present)(Component Technology File archive,
platform-dependent on target machine, contains compiled M-code)
Windows:
* MCRInstaller.exe (self-extracting MATLAB Compiler Runtime
installer)
UNIX:
* MCRInstaller.bin (MATLAB Compiler Runtime installer)
Mac:
* MCRInstaller.dmg (MATLAB Compiler Runtime installer)
Requirements for .NET Components:
============================================================
Windows:
* libvsunitcircle.ctf (Component Technology File archive, contains
compiled M-code)
* libvsunitcircle.xml (documentation files)
* libvsunitcircle.pdb (program database file - if DEBUG option
selected)
* libvsunitcircle.dll (component assembly file)
* MCRInstaller.exe (self-extracting MATLAB Compiler Runtime
archive)
Requirements for COM Co
没有合适的资源?快使用搜索试试~ 我知道了~
matlab\MATLAB for C_C++ Programmers Webinar (May 2008).zip
共138个文件
m:24个
h:18个
html:16个
需积分: 3 9 下载量 79 浏览量
2008-11-21
23:07:15
上传
评论 1
收藏 4.01MB ZIP 举报
温馨提示
matlab\MATLAB for C_C++ Programmers Webinar (May 2008).zip
资源推荐
资源详情
资源评论
收起资源包目录
matlab\MATLAB for C_C++ Programmers Webinar (May 2008).zip (138个子文件)
soundcard.asv 1KB
examples.asv 401B
example.asv 379B
EMLexample.asv 256B
PointingAngleCalc2_rtw.bat 1KB
libvsunitcircle_mcc_component_data.c 7KB
rt_nonfinite.c 5KB
libvsunitcircle.c 4KB
pnpoly.c 3KB
PointingAngleCalc2.c 3KB
rt_atan2.c 2KB
ieee802.11b.cpp 16KB
main_with_mode_2.cpp 14KB
main.cpp 13KB
main_orig.cpp 12KB
bluetooth.cpp 6KB
random.cpp 4KB
programargs.cpp 2KB
basetype.cpp 2KB
awgnchan.cpp 1KB
mt.dep 66B
libvsunitcircle.dll 125KB
libvsunitcircle.dll 125KB
libvsunitcircle.dll 125KB
btint.exe 632KB
libvsunitcircle.exp 2KB
libvsunitcircle.exports 158B
libvsunitcircle.exports 158B
daqwaterfall.fig 9KB
untitled2.fig 4KB
untitled.fig 3KB
untitled.fig 3KB
untitled.fig 3KB
templates.h 7KB
rtwtypes.h 4KB
basetype.h 4KB
ieee802.11b.h 3KB
libvsunitcircle.h 3KB
libvsunitcircle.h 3KB
random.h 2KB
bluetooth.h 2KB
awgnchan.h 1KB
programargs.h 1KB
PointingAngleCalc2.h 938B
rt_nonfinite.h 774B
util.h 764B
datatype.h 650B
rt_atan2.h 467B
configure.h 361B
configure_orig.h 242B
stdcpp.h 108B
BuildLog.htm 13KB
rt_nonfinite_c.html 25KB
rtwtypes_h.html 21KB
PointingAngleCalc2_source1.html 13KB
PointingAngleCalc2_c.html 13KB
rt_atan2_c.html 12KB
rt_nonfinite_h.html 7KB
PointingAngleCalc2_h.html 6KB
PointingAngleCalc2_buildlog1.html 6KB
rt_atan2_h.html 4KB
PointingAngleCalc2_msgtree.html 2KB
PointingAngleCalc2_summary.html 2KB
PointingAngleCalc2_contents.html 1KB
PointingAngleCalc2_msglist.html 1KB
PointingAngleCalc2_msgtreenav.html 264B
PointingAngleCalc2_msglistnav.html 264B
PointingAngleCalc2_report.html 255B
vc80.idb 171KB
PointingAngleCalc2_C.lib 9KB
libvsunitcircle.lib 3KB
libvsunitcircle.lib 3KB
cmd.exe.lnk 2KB
PointingAngleCalc2_C.lnk 56B
mccExcludedFiles.log 205KB
build.log 7KB
winmm_fcns.m 46KB
winmm_fcns.m 46KB
daqwaterfall.m 20KB
daqstopbutton_custom.m 4KB
untitled.m 3KB
untitled2.m 3KB
untitled.m 3KB
untitled.m 3KB
createfigure.m 2KB
vsunitcircle.m 1KB
vsunitcircle.m 1KB
soundcard.m 1KB
soundcard.m 1KB
PointingAngleCalc2.m 1KB
setup.m 978B
importfile.m 701B
fftpolyplot.m 428B
examples.m 402B
examples.m 401B
example.m 381B
fftpolyplot.m 263B
EMLexample.m 250B
actxlicense.m 184B
tstoollog.m 0B
共 138 条
- 1
- 2
资源评论
whizer123
- 粉丝: 2
- 资源: 25
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功