From: Andrew Fiedler on 13 May 2010 09:52 I'm having the same problem with MATLAB R2009b (7.9.0.529). I seems completely random when it can save mat files and when it won't. Saving files to CSV in the same folder location works, and is a work-around for now but I have many programs that are already written to save MAT files which seem to fail for some inexplicable reason. Also, deleting the existing MAT files before trying to save new copies does not help. "Pouria " <p.mojabi(a)gmail.com> wrote in message <hmk3os$q5s$1(a)fred.mathworks.com>... > i am also experiencing the same problem, on a random basis (i think, unless there is a solid reason) i get the unable to write to MAT-file error msg. sometimes it is a new file and sometimes when trying to rewrite the same file. > > any information or discovery is much appreciated > i use Matlab 2008a(7.6.0.324) > > Thanks > > -P > > JoeyB <joseph.burgel(a)gm.com> wrote in message <385f884f-927d-446b-91c7-d107b76cd9fc(a)z14g2000yqa.googlegroups.com>... > > On Mar 5, 2:05=A0pm, "Evi Daems" <evi_da...(a)hotmail.com> wrote: > > > Hi, > > > > > > Sometimes, when I try to save a matrix into a mat-file (save FileName Mat= > > rix ), I get the error: Unable to write to MAT-file FileName, File may be c= > > orrupt. When I try it a few times, sometimes it works, sometimes it fails. = > > First I thought it has something to do with the fact that the mat-file alre= > > ady existed, but also for new mat-files, it sometimes fails. > > > Has anybody have an idea how to solve this? > > > > > > Thanks! > > > Evi > > > > I'm having the same problem. This first attempt at save fails. The > > next works: > > ??? Error using =3D=3D> save > > > > Unable to write file > > C:\Work\AmbientCorrection\PLT_658_1ALN6412_WOT.mat: > > permission denied.
From: Steven Lord on 13 May 2010 10:30 "Andrew Fiedler" <afiedler8(a)gmail.com> wrote in message news:hsh064$kbr$1(a)fred.mathworks.com... > I'm having the same problem with MATLAB R2009b (7.9.0.529). I seems > completely random when it can save mat files and when it won't. Saving > files to CSV in the same folder location works, and is a work-around for > now but I have many programs that are already written to save MAT files > which seem to fail for some inexplicable reason. Also, deleting the > existing MAT files before trying to save new copies does not help. Please contact Technical Support and work with them to determine the circumstances that cause this behavior so that if the problem is in MATLAB that we can correct it and if the problem is in some aspect of your configuration that you can take the appropriate action. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
|
Pages: 1 Prev: problem with m_map and GSHHS Next: Google Adsense Account Approval Tricks |