-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreadme.txt
109 lines (73 loc) · 3.95 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
PlantClusterFinder Executable
1. Prerequisites for Deployment
Verify that MATLAB Runtime(R2023b) is installed.
If not, you can run the MATLAB Runtime installer.
To find its location, enter
>>mcrinstaller
at the MATLAB prompt.
NOTE: You will need administrator rights to run the MATLAB Runtime installer.
Alternatively, download and install the Macintosh version of the MATLAB Runtime for R2023b
from the following link on the MathWorks website:
https://www.mathworks.com/products/compiler/mcr/index.html
For more information about the MATLAB Runtime and the MATLAB Runtime installer, see
"Distribute Applications" in the MATLAB Compiler documentation
in the MathWorks Documentation Center.
2. Files to Deploy and Package
Files to Package for Standalone
================================
-run_PlantClusterFinder.sh (shell script for temporarily setting environment variables
and executing the application)
-to run the shell script, type
./run_PlantClusterFinder.sh <mcr_directory> <argument_list>
at Linux or Mac command prompt. <mcr_directory> is the directory
where MATLAB Runtime(R2023b) 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 MATLAB Runtime(R2023b) installed in
/mathworks/home/application/R2023b, run the shell script as:
./run_PlantClusterFinder.sh /mathworks/home/application/R2023b
If you have MATLAB installed in /mathworks/devel/application/matlab,
run the shell script as:
./run_PlantClusterFinder.sh /mathworks/devel/application/matlab
-MCRInstaller.zip
Note: if end users are unable to download the MATLAB Runtime using the
instructions in the previous section, include it when building your
component by clicking the "Runtime included in package" link in the
Deployment Tool.
-The Macintosh bundle directory structure PlantClusterFinder.app
Note: this can be stored in an archive file with the zip command
zip -r PlantClusterFinder.zip PlantClusterFinder.app
or the tar command
tar -cvf PlantClusterFinder.tar PlantClusterFinder.app
-This readme file
3. Definitions
For information on deployment terminology, go to
https://www.mathworks.com/help and select MATLAB Compiler >
Getting Started > About Application Deployment >
Deployment Product Terms in the MathWorks Documentation
Center.
4. Appendix
A. Mac systems:
In the following directions, replace MR/R2023b by the directory on the target machine
where MATLAB is installed, or MR by the directory where the MATLAB Runtime is
installed.
If the environment variable DYLD_LIBRARY_PATH is undefined, set it to the following
string:
MR/R2023b/runtime/maca64:MR/R2023b/sys/os/maca64:MR/R2023b/bin/maca64
If it is defined, set it to the following:
${DYLD_LIBRARY_PATH}:MR/R2023b/runtime/maca64:MR/R2023b/sys/os/maca64:MR/R2023b/bin/maca64
For more detailed information about setting the MATLAB Runtime paths, see Package and
Distribute in the MATLAB Compiler documentation in the MathWorks Documentation Center.
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, you can
run the shell script file run_PlantClusterFinder.sh
instead of setting environment variables. See
section 2 "Files to Deploy and Package".
5. Launching 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.