Cannot run my compiled code
1 view (last 30 days)
Show older comments
After putting in numerous hours, I felt ready to run my code on my friend's high end computer. I compiled my application (named Zeta). However, when I entered:
sh '/home/nicbit/Desktop/run_Zeta.sh' /usr/local/MATLAB/MATLAB_Compiler_RuntimeD
to test this on my computer, I received the following error code:
------------------------------------------
Setting up environment variables
---
LD_LIBRARY_PATH is .:/usr/local/MATLAB/MATLAB_Compiler_Runtime/runtime/glnxa64:
/usr/local/MATLAB/MATLAB_Compiler_Runtime/bin/glnxa64:/usr/local/MATLAB
/MATLAB_Compiler_Runtime/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime
/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:/usr/local/MATLAB
/MATLAB_Compiler_Runtime/sys/java/jre/glnxa64/jre/lib/amd64/server:/usr/local/MATLAB
/MATLAB_Compiler_Runtime/sys/java/jre/glnxa64/jre/lib/amd64/client:/usr/local/MATLAB
/MATLAB_Compiler_Runtime/sys/java/jre/glnxa64/jre/lib/amd64
/home/nicbit/Desktop/run_Zeta.sh: 1: eval: /home/nicbit/Desktop/Zeta: Permission
denied
In response I tried:
sudo sh '/home/nicbit/Desktop/run_Zeta.sh' /usr/local/MATLAB/MATLAB_Compiler_RuntimeD
which resulted in the same error. I also chmoded the file so that
ls -la '/home/nicbit/Desktop/run_Zeta.sh'
returns:
-rwxrwxrwx 1 nicbit nicbit 1135 Jan 23 18:50 /home/nicbit/Desktop/run_Zeta.sh
but the same error code resulted. Does anyone know how to solve this issue. Thank you
0 Comments
Answers (1)
See Also
Categories
Find more on Application Deployment in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!