|
| 1 | +VectofilPlus Executable |
| 2 | + |
| 3 | +1. Prerequisites for Deployment |
| 4 | + |
| 5 | +Verify that version 9.10 (R2021a) of the MATLAB Runtime is installed. |
| 6 | +If not, you can run the MATLAB Runtime installer. |
| 7 | +To find its location, enter |
| 8 | + |
| 9 | + >>mcrinstaller |
| 10 | + |
| 11 | +at the MATLAB prompt. |
| 12 | + |
| 13 | +Alternatively, download and install the Linux version of the MATLAB Runtime for R2021a |
| 14 | +from the following link on the MathWorks website: |
| 15 | + |
| 16 | + https://www.mathworks.com/products/compiler/mcr/index.html |
| 17 | + |
| 18 | +For more information about the MATLAB Runtime and the MATLAB Runtime installer, see |
| 19 | +"Distribute Applications" in the MATLAB Compiler documentation |
| 20 | +in the MathWorks Documentation Center. |
| 21 | + |
| 22 | +2. Files to Deploy and Package |
| 23 | + |
| 24 | +Files to Package for Standalone |
| 25 | +================================ |
| 26 | +-VectofilPlus |
| 27 | +-run_VectofilPlus.sh (shell script for temporarily setting environment variables and |
| 28 | + executing the application) |
| 29 | + -to run the shell script, type |
| 30 | + |
| 31 | + ./run_VectofilPlus.sh <mcr_directory> <argument_list> |
| 32 | + |
| 33 | + at Linux or Mac command prompt. <mcr_directory> is the directory |
| 34 | + where version 9.10 of the MATLAB Runtime is installed or the directory where |
| 35 | + MATLAB is installed on the machine. <argument_list> is all the |
| 36 | + arguments you want to pass to your application. For example, |
| 37 | + |
| 38 | + If you have version 9.10 of the MATLAB Runtime installed in |
| 39 | + /mathworks/home/application/v910, run the shell script as: |
| 40 | + |
| 41 | + ./run_VectofilPlus.sh /mathworks/home/application/v910 |
| 42 | + |
| 43 | + If you have MATLAB installed in /mathworks/devel/application/matlab, |
| 44 | + run the shell script as: |
| 45 | + |
| 46 | + ./run_VectofilPlus.sh /mathworks/devel/application/matlab |
| 47 | +-MCRInstaller.zip |
| 48 | + Note: if end users are unable to download the MATLAB Runtime using the |
| 49 | + instructions in the previous section, include it when building your |
| 50 | + component by clicking the "Runtime included in package" link in the |
| 51 | + Deployment Tool. |
| 52 | +-This readme file |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | +3. Definitions |
| 57 | + |
| 58 | +For information on deployment terminology, go to |
| 59 | +https://www.mathworks.com/help and select MATLAB Compiler > |
| 60 | +Getting Started > About Application Deployment > |
| 61 | +Deployment Product Terms in the MathWorks Documentation |
| 62 | +Center. |
| 63 | + |
| 64 | +4. Appendix |
| 65 | + |
| 66 | +A. Linux systems: |
| 67 | +In the following directions, replace MR/v910 by the directory on the target machine where |
| 68 | + MATLAB is installed, or MR by the directory where the MATLAB Runtime is installed. |
| 69 | + |
| 70 | +(1) Set the environment variable XAPPLRESDIR to this value: |
| 71 | + |
| 72 | +MR/v910/X11/app-defaults |
| 73 | + |
| 74 | + |
| 75 | +(2) If the environment variable LD_LIBRARY_PATH is undefined, set it to the following: |
| 76 | + |
| 77 | +MR/v910/runtime/glnxa64:MR/v910/bin/glnxa64:MR/v910/sys/os/glnxa64:MR/v910/sys/opengl/lib/glnxa64 |
| 78 | + |
| 79 | +If it is defined, set it to the following: |
| 80 | + |
| 81 | +${LD_LIBRARY_PATH}:MR/v910/runtime/glnxa64:MR/v910/bin/glnxa64:MR/v910/sys/os/glnxa64:MR/v910/sys/opengl/lib/glnxa64 |
| 82 | + |
| 83 | + For more detailed information about setting the MATLAB Runtime paths, see Package and |
| 84 | + Distribute in the MATLAB Compiler documentation in the MathWorks Documentation Center. |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + NOTE: To make these changes persistent after logout on Linux |
| 89 | + or Mac machines, modify the .cshrc file to include this |
| 90 | + setenv command. |
| 91 | + NOTE: The environment variable syntax utilizes forward |
| 92 | + slashes (/), delimited by colons (:). |
| 93 | + NOTE: When deploying standalone applications, you can |
| 94 | + run the shell script file run_VectofilPlus.sh |
| 95 | + instead of setting environment variables. See |
| 96 | + section 2 "Files to Deploy and Package". |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
0 commit comments