How do you open MATLAB Runtime on Mac?

It seems like you have to enter bash commands to achieve this, but I don't know what to enter. Everything I try results in a 'file not found' sort of messsage being returned. I have been trying to figure out how to open it and somehow have not found any success. I am unsure of what to input into bash in order to get the program to open. Please let me know when you get a chance. Thanks a lot.

답변 (1개)

Walter Roberson
Walter Roberson 2022년 4월 20일

0 개 추천

When you say "MATLAB Runtime" do you mean MCR, MATLAB Component Runtime? If so then that is not intended as a stand-alone application.
If you mean that you have installed MATLAB itself and you want to invoke it from terminal, then for example
alias matlab="/Applications/MATLAB_R2022a.app/bin/matlab -nojvm -nodesktop"
I put the above in my ~/.bash_profile

댓글 수: 1

R Rai
R Rai 2022년 4월 21일
편집: R Rai 2022년 4월 21일
Hello Walter,
Thank you very much for your reply. Yes, I'm trying to run a particular program through MATLAB Component Runtime. It seems to be the solution you use when you are trying to run a program designed for MATLAB without actually having the MATLAB software. Do you by chance know how to use MCR for this purpose?
Could it be that I did not correctly append the string of code that they provide to the DYLD_LIBRARY_PATH environment variable? I used
export DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH:+${DYLD_LIBRARY_PATH}:}/Applications/MATLAB/MATLAB_Runtime/v94/runtime/maci64:/Applications/MATLAB/MATLAB_Runtime/v94/sys/os/maci64:/Applications/MATLAB/MATLAB_Runtime/v94/bin/maci64:/Applications/MATLAB/MATLAB_Runtime/v94/extern/bin/maci64"

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

카테고리

도움말 센터File Exchange에서 Entering Commands에 대해 자세히 알아보기

태그

질문:

2022년 4월 20일

편집:

2022년 4월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by