필터 지우기
필터 지우기

Running MATLAB executable in linux

조회 수: 66 (최근 30일)
Deepa Maheshvare M.
Deepa Maheshvare M. 2023년 1월 5일
댓글: Jestzer 2023년 12월 6일
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
  댓글 수: 4
Jestzer
Jestzer 2023년 1월 5일
That'll probably depend on the application you compiled. What are the names of files and folders that were generated?
Deepa Maheshvare M.
Deepa Maheshvare M. 2023년 1월 6일
편집: 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

댓글을 달려면 로그인하십시오.

답변 (3개)

Jestzer
Jestzer 2023년 1월 6일
편집: Jestzer 2023년 1월 6일
I've only ever compiled apps on Windows, but my guess would be that yau need to run MyAppInstaller and make sure the file has permissions to execute. That will install the app and then will create a new program for you to run once it's installed.

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 .
  댓글 수: 1
Jestzer
Jestzer 2023년 12월 6일
You can also make a symbolic link post-installation, although this question asked about the Runtime, which isn’t the same thing.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by