Running MATLAB executable in linux

Hi All,
I am trying to run an executable generated from MATLAB in linux.
MATLAB runtime is installed on the server at /usr/local/MATLAB/MATLAB_Runtime/R2022b as described here (https://in.mathworks.com/help/compiler/install-the-matlab-runtime.html).
Now I am not sure how to run the executable.
Suggestions will be really helpful

3 Commenti

I tried to create ./test.sh using the Application Compiler. But if I try
./test.sh /usr/local/MATLAB/MATLAB_Runtime/R2022b/
I get a message Invalid command.
Any suggestions?
Deepa Maheshvare M.
Deepa Maheshvare M. il 6 Gen 2023
Modificato: Deepa Maheshvare M. il 6 Gen 2023
@Jestzer, Thanks a lot for the response. These are folders generated
The files present are
And I selected the following (Runtime downloaded from web) in the Application compiler

Accedi per commentare.

Risposte (2)

sina varmaghani
sina varmaghani il 22 Nov 2023

0 voti

This is exactly my question too. Would you please share the solution here if you finally managed to run the executable in server?

1 Commento

I had this same problem, during install there is a option along the lines of "add symbolic links to matlab binaries", if this was ticked, inputting the command "matlab" into the terminal should open matlab. If you were like me, and did not, you can simply run the "matlab" command while in the binaries directory located (by default) in /usr/MATLAB/R2023b/bin. I found this information here: https://uk.mathworks.com/help/matlab/matlab_env/start-matlab-on-linux-platforms.html .

Accedi per commentare.

Sem
Sem il 6 Dic 2023
Modificato: Sem il 6 Dic 2023

0 voti

I had this same problem, during install there is a option along the lines of "add symbolic links to matlab binaries", if this was ticked, inputting the command "matlab" into the terminal should open matlab. If you were like me, and did not, you can simply run the "matlab" command ("./matlab") while in the binaries directory located (by default) in /usr/MATLAB/R2023b/bin. I found this information here: https://uk.mathworks.com/help/matlab/matlab_env/start-matlab-on-linux-platforms.html .

Categorie

Prodotti

Release

R2022b

Modificato:

Sem
il 6 Dic 2023

Community Treasure Hunt

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

Start Hunting!

Translated by