Matlabfrag Permission Denied
3 views (last 30 days)
Show older comments
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.
0 Comments
Answers (2)
Walter Roberson
on 17 Jun 2011
Network drive... Is that Microsoft Networking or is it NFS (networked file system) ? Privileged access is designed not to work over NFS.
0 Comments
Frederick
on 17 Jun 2011
1 Comment
Walter Roberson
on 17 Jun 2011
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
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!