Sometimes, when I try to save a matrix into a mat-file (save FileName Matrix ), I get the error: Unable to write to MAT-file FileName, File may be corrupt. 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 already existed, but also for new mat-files, it sometimes fails.
Has anybody have an idea how to solve this?
I'm having the same problem. This first attempt at save fails. The
??? Error using ==> save
Unable to write file
any information or discovery is much appreciated
i use Matlab 2008a(220.127.116.114)
JoeyB <joseph...@gm.com> wrote in message <385f884f-927d-446b...@z14g2000yqa.googlegroups.com>...
> On Mar 5, 2:05=A0pm, "Evi Daems" <evi_da...@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
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.
Andrew, I experience the same problem. It seems random, and occurs with code which I haven't changed lately. Has Technical Support been able to help you out? Any feedback is appreciated.
It usually happens after I have had matlab open for a while and very often when I resume from hibernation/Suspend my computer.
I need to quit and restart.
OSs are WinXP Pro SP2 and Vista 2008, Pro SP2.
If anyone does have any hint, is very welcome.
Maurizio De Pitta'.
It is now occurring on my MATLAB (version 18.104.22.1687 R2009a) almost on daily basis. So far the cases when it occurs are:
- after MATLAB session has been open for a while (1 hour), even wihtout having saved anything before, any saving action is vanish.
- multiple MATLAB sessions are open and I am working with files in the same directory (this indeed might conflict with VISTA Admin rights handling)
- running routines / batch jobs that sequentially call the same routine and at each run this latter needs save data in a temporary file
It is somehow interesting that if I use the GUI to save, I am able to save either data or figures. The problem seems mainly from command line. Everytime it does occur, I need to shut MALTAB down and restart it.
Please help. This problem is now getting extremely irritating and seriously slowing down my work.
"Maurizio De Pitta'" <maurizi...@email.it> wrote in message
You should contact Technical Support for assistance in determining the cause
of this problem.
To contact Technical Support use the Contact Us link on