Filter löschen
Filter löschen

Help with MCR to run executable file on MAC and Linux.

5 Ansichten (letzte 30 Tage)
Pragya Srivastava
Pragya Srivastava am 22 Jan. 2018
Bearbeitet: Pragya Srivastava am 22 Jan. 2018
Hello,
i) I generated an sh file using mcc -mv mycode.m. ii) I installed MCR (2017a Matlab) for Mac from here https://uk.mathworks.com/products/compiler/matlab-runtime.html iii) I edited the .bashrc file to set the path as instructed at the end of installation as : export DYLD_LIBRARY_PATH=/Applications/MATLAB/MATLAB_Runtime/v92/runtime/maci64:/Applications/MATLAB/MATLAB_Runtime/v92/sys/os/maci64:/Applications/MATLAB/MATLAB_Runtime/v92/bin/maci64
4. After the above : I run in terminal, sh mycode.sh, But this gives the following message ------------------------------------------ Usage: mycode.sh deployedMCRroot args
5. The code, when run inside Matlab results into a map. But with MCR, I only get the above message.
6. Adding to above: I also want to use dlmwrite within my code to be deployed. This is to generate output data. Could you please let me know if the usual way of "fullfile" works from within the standalone application.
7. In the end, I want to run the executable on a cluster which has linux platform. Is it possible to do so, if I am generating the executable file on Mac ?
I will be really grateful if you could help me with these. Thank you -- P

Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by