Prev: 3D generation
Next: Plotting Quadrics
From: Max Watson on 15 Jul 2010 16:43 I have an empty file h.dat, and (fid=fopen('h.dat')) works, but using any of the non-default permissions like fid=fopen('h.dat','w') results in fid=-1. I also cannot create new files this way either. This is a real problem since it's preventing me from using dlmwrite. Please help! Thanks! --Max
From: Walter Roberson on 15 Jul 2010 16:45 Max Watson wrote: > > I have an empty file h.dat, and (fid=fopen('h.dat')) works, but using > any of the non-default permissions like fid=fopen('h.dat','w') results > in fid=-1. I also cannot create new files this way either. This is a > real problem since it's preventing me from using dlmwrite. Please help! use cd to find out which directory you are in, and check the ownerships and permissions of that directory. In some systems (e.g., unix type systems) you might also need "execute" permission on every directory between the root directory and the destination directory; in Windows with NTFS you might need "Read Directory" permission on every directory between the root of the device and the destination directory.
|
Pages: 1 Prev: 3D generation Next: Plotting Quadrics |