source: proiecte/PPPP/ica/work/readme.txt @ 138

Last change on this file since 138 was 138, checked in by (none), 14 years ago

PPPP - ica

File size: 2.5 KB
Line 
1MATLAB Compiler
2
31. Prerequisites for Deployment
4
5* Verify the MATLAB Compiler Runtime (MCR) is installed and ensure you   
6  have installed version 7.11.   
7
8* If the MCR is not installed, run MCRInstaller, located in:
9
10  /opt/matlab/toolbox/compiler/deploy/glnx86/MCRInstaller.bin
11
12For more information on the MCR Installer, see the MATLAB Compiler
13documentation.   
14
15
16
172. Files to Deploy and Package
18
19Files to package for Shared Libraries
20=====================================
21-libmatrix.so
22-libmatrix.h
23-MCRInstaller.bin
24   - include when building component by selecting "include MCR" option
25-This read-me file
26
273. Definitions
28
29MCR - MATLAB Compiler uses the MATLAB Compiler Runtime (MCR),
30which is a standalone set of shared libraries that enable the execution
31of M-files. The MCR provides complete support for all features of
32MATLAB without the MATLAB GUI. When you package and distribute an
33application to users, you include supporting files generated by the
34builder as well as the MATLAB Compiler Runtime (MCR). If necessary,
35run MCRInstaller to install the correct version of the MCR. For more
36information about the MCR, see the MATLAB Compiler documentation.
37
38
39
404. Appendix
41
42A. On the target machine, add the MCR directory to the system path   
43   specified by the target system's environment variable.
44
45
46    i. Locate the name of the environment variable to set, using the 
47       table below:
48
49    Operating System        Environment Variable
50    ================        ====================
51    Linux                   LD_LIBRARY_PATH
52
53
54     ii. Set the path by doing one of the following:
55
56        NOTE: <mcr_root> is the directory where MCR is installed
57              on the target machine.         
58
59
60        * Add the MCR directory to the environment variable by issuing
61          the following commands:
62
63            setenv LD_LIBRARY_PATH
64                <mcr_root>/v711/runtime/glnx86:
65                <mcr_root>/v711/sys/os/glnx86:
66                <mcr_root>/v711/sys/java/jre/glnx86/jre/lib/i386/native_threads:
67                <mcr_root>/v711/sys/java/jre/glnx86/jre/lib/i386/server:
68                <mcr_root>/v711/sys/java/jre/glnx86/jre/lib/i386
69            setenv XAPPLRESDIR <mcr_root>/v711/X11/app-defaults
70
71
72        NOTE: To make these changes persistent after logout on UNIX or
73              Mac machines, modify the .cshrc file to include this 
74              setenv command.
75        NOTE: on UNIX or Mac, the environment variable syntax utilizes   
76              forward slashes (/), delimited by colons (:). 
Note: See TracBrowser for help on using the repository browser.