Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
logo.jpg | 2012-03-21 | 168.5 kB | |
date2jd.m | 2012-03-21 | 1.2 kB | |
isleapyear.m | 2012-03-21 | 951 Bytes | |
myquantile.m | 2012-03-21 | 90 Bytes | |
ABOUT.txt | 2012-03-21 | 1.1 kB | |
DISCLAIMER.TXT | 2012-03-21 | 893 Bytes | |
phenocamimageprocessor.fig | 2012-03-21 | 19.2 kB | |
phenocamimageprocessor.m | 2012-03-21 | 47.0 kB | |
readme.txt | 2012-03-21 | 4.0 kB | |
Totals: 9 Items | 243.0 kB | 0 |
MATLAB Compiler 1. Prerequisites for Deployment . Verify the MATLAB Compiler Runtime (MCR) is installed and ensure you have installed version 7.17 (R2012a). . If the MCR is not installed, do following: (1) enter >>mcrinstaller at MATLAB prompt. This MCR Installer command displays the location of the MCR Installer. (2) run the MCR Installer. Or download Macintosh version of MCR from the MathWorks website: http://www.mathworks.com/products/compiler/ For more information about the MCR and the MCR Installer, see Working With the MCR in the MATLAB Compiler Users Guide. NOTE: You will need administrator rights to run MCRInstaller. 2. Files to Deploy and Package Files to package for Standalone ================================ -run_phenocamimageprocessor.sh (shell script run to temporarily set environment variables and execute the application) -to run the shell script, type ./run_phenocamimageprocessor.sh <mcr_directory> <argument_list> at Linux or Mac command prompt. <mcr_directory> is the directory where version 7.17 of MCR is installed or the directory where MATLAB is installed on the machine. <argument_list> is all the arguments you want to pass to your application. For example, If you have version 7.17 of MCR installed in /mathworks/home/application/v717, run the shell script as: ./run_phenocamimageprocessor.sh /mathworks/home/application/v717 If you have MATLAB installed in /mathworks/devel/application/matlab, run the shell script as: ./run_phenocamimageprocessor.sh /mathworks/devel/application/matlab -MCRInstaller.zip -include when building component by clicking "Add MCR" link in deploytool -The Macintosh bundle directory structure phenocamimageprocessor.app -this can be gathered up using the zip command zip -r phenocamimageprocessor.zip phenocamimageprocessor.app or the tar command tar -cvf phenocamimageprocessor.tar phenocamimageprocessor.app -This readme file 3. Definitions For information on deployment terminology, go to http://www.mathworks.com/help. Select your product and see the Glossary in the Users Guide. 4. Appendix A. Mac systems: On the target machine, add the MCR directory to the environment variable DYLD_LIBRARY_PATH by issuing the following commands: NOTE: <mcr_root> is the directory where MCR is installed on the target machine. setenv DYLD_LIBRARY_PATH $DYLD_LIBRARY_PATH: <mcr_root>/v717/runtime/maci64: <mcr_root>/v717/sys/os/maci64: <mcr_root>/v717/bin/maci64: /System/Library/Frameworks/JavaVM.framework/JavaVM: /System/Library/Frameworks/JavaVM.framework/Libraries setenv XAPPLRESDIR <mcr_root>/v717/X11/app-defaults For more detail information about setting MCR path, see "Deploying Your Application on Mac or Linux" in Appendix "Using MATLAB Compiler on Mac or Linux" in the MATLAB Compiler User's Guide. NOTE: To make these changes persistent after logout on Linux or Mac machines, modify the .cshrc file to include this setenv command. NOTE: The environment variable syntax utilizes forward slashes (/), delimited by colons (:). NOTE: When deploying standalone applications, it is possible to run the shell script file run_phenocamimageprocessor.sh instead of setting environment variables. See section 2 "Files to Deploy and Package". 5. Launching of application using Macintosh finder. If the application is purely graphical, that is, it doesn't read from standard in or write to standard out or standard error, it may be launched in the finder just like any other Macintosh application.