Azzera filtri
Azzera filtri

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

5 visualizzazioni (ultimi 30 giorni)
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

Risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by