필터 지우기
필터 지우기

How to execute matlab program in different account user in Ubuntu

조회 수: 1 (최근 30일)
M Prabu
M Prabu 2014년 2월 13일
댓글: M Prabu 2014년 2월 13일
I have installed Matlab R2013b in Ubuntu system 64 bit arch. It was installed from root user. Now i can open GUI matlab and Execute programs in terminal mode, but only from root user. I cant open GUI and I cant execute programs in different user (Hadoop). I gave all permission for this user eventhough i got error. For example If i run a program like simple J=imread('/usr/a.jpg'); imwrite(J,'/usr/new.jpg'); imshow(J);
It works perfectly in root user. But in hadoop user it gives error like this
No protocol specified No protocol specified Warning: Unable to open display ':0.0'. You will not be able to display graphics on the screen. Warning: No window system found. Java option 'MWT' ignored.
< M A T L A B (R) >
Copyright 1984-2013 The MathWorks, Inc.
R2013b (8.2.0.701) 64-bit (glnxa64)
August 13, 2013
No window system found. Java option 'MWT' ignored.
To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com.
{Error using imshow (line 208) IMSHOW unable to display image.
}
This is from log file. Please anyone suggest me to solve this problem. I want to execute all my commands in hadoop user only. After that I have to implement this in grid computing platform. Thanks in advance for your help. >>
  댓글 수: 3
M Prabu
M Prabu 2014년 2월 13일
Invoked from ubuntu terminal. path is /usr/local/MATLAB/R2013b/bin. I am using matlab by command.
M Prabu
M Prabu 2014년 2월 13일
My question is if i change user why matlab will not work.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by