Linux Matlab auto login/login from command line

Every time when I launch Matlab on linux command line, it requires me to login in GUI.
However, on Windows I don't have to login every time.
What should I set to enable auto login on Linux? Or, at least any method to login using command only without GUI?

댓글 수: 4

Rik
Rik 2023년 3월 22일
Do you mean it wants you to activate every time? If not, can you post a screenshot of what you mean?
KH S
KH S 2023년 3월 22일
It pops up the sign in page every time I start matlab. Not sure whether it is the activation.
Rik
Rik 2023년 3월 22일
If this is the entire window, I can't say I have seen it before.
Yash
Yash 2023년 3월 28일
Can you provide the details of your linux distro?

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

답변 (1개)

Tushar
Tushar 2023년 4월 17일
Hi,
Start MatLab with the following flags
matlab -nodesktop -nojvm -nosplash
  • -nodesktop prevents the desktop
  • -nojvm prevents starting of the java virtual machine
  • -nosplash prevents the start-up splash screen.
You can also avoid using "-nojvm" as you might end up losing some functionality, unless you have a separate good reason to use "-nojvm".
Also, To execute a MATLAB script hello.m via a remote ssh login, in a terminal window type:
ssh local.foo.com matlab -nodisplay -nojvm < hello.m
The ssh command pipes hello.m to MATLAB running on the remote host local.foo.com. The -nodisplay option starts MATLAB without the desktop.
Hope it helps!!

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2023a

태그

질문:

2023년 3월 21일

답변:

2023년 4월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by