Running MATLAB executable in linux

37 次查看(过去 30 天)
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 个评论
Deepa Maheshvare M.
编辑:Deepa Maheshvare M. 2023-1-6
@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

请先登录,再进行评论。

回答(2 个)

sina varmaghani
sina varmaghani 2023-11-22
This is exactly my question too. Would you please share the solution here if you finally managed to run the executable in server?
  1 个评论
Sem
Sem 2023-12-6
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 .

请先登录,再进行评论。


Sem
Sem 2023-12-6
编辑:Sem 2023-12-6
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 .

类别

Help CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by