Matlabfrag Permission Denied

I am running matlabfrag in a script, however sometimes I get:
??? Error using ==> print at 364
.\SDFSDRMean.eps: Cannot open file: permission denied.
Error in ==> matlabfrag at 216
print(p.Results.handle,'-depsc2','-loose',dpiswitch,'-painters',FileName);
The folder it is trying to write to is on a network drive that I am allowed to write to and am set to administrator.
Any help would be greatly appreciated.

답변 (2개)

Walter Roberson
Walter Roberson 2011년 6월 17일

0 개 추천

Network drive... Is that Microsoft Networking or is it NFS (networked file system) ? Privileged access is designed not to work over NFS.
Frederick
Frederick 2011년 6월 17일

0 개 추천

It is is NFS, well it is writing to a (synced for offline files) file store. It's weird because it works some times. I do have a physical drive on my computer, would it likely work if I shipped all my stuff onto there?
(Will have to try on Monday)

댓글 수: 1

Walter Roberson
Walter Roberson 2011년 6월 17일
If you are accessing as root (or equivalent) for NFS then your access is only permitted if the anonymous user is permitted that access.
If, however, you are accessing as a non-root (or equivalent) user, then there are other authentication mechanisms and you can potentially get access as a real user.
You might to scan through the following previous topic, in which someone encountered permission problems over NFS:
http://www.mathworks.com/matlabcentral/answers/8201-couldn-t-run-codegen-under-matlab

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

카테고리

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

질문:

2011년 6월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by