Graphical window problem in remote Matlab, using ssh and screen.

조회 수: 4 (최근 30일)
Max
Max 2021년 10월 31일
Hello,
I connect from my home computer to a remote computer via ssh -Y. And I have a screen session where I am running Matlab.
In order to see the graphical windows, in matlab I set the right environment variable:
setenv('DISPLAY',':10.0')
In order order to test if it works. I use:
!xeyes
And it works. but when I try to create a figure, nothing displays.
If I restart matlab, the figures do show.
Is there a way to show figures without restarting matlab in the screen session?
Many thanks

답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by