|
"someone" wrote in message <iqs0co$11n$1@newscl01ah.mathworks.com>...
> "Tilda" wrote in message <iqrsf3$ggl$1@newscl01ah.mathworks.com>...
> > Hi all,
> >
> > I am trying to save an m file using nohup (on the background) and I get this error
> >
> > Warning: Variable 'P' cannot be saved to a MAT-file whose version is older than
> > 7.3.
> > To save this variable, use the -v7.3 switch.
> >
> > Can anyone tell me if this is because of the memory of the space I try to save or the vector size is very big?
> > I have MATLAB 2010a on Snow Leopard
> >
> > Thanks
>
> You said you are trying to save an "m file"
> but the warning is about a "MAT-file". Which is it?
>
> I'll assume it is a MAT-file and you are using the save command.
> The documentation for save says:
>
> When working on 64-bit platforms, you can have data items in your workspace
> that occupy more than 2 GB. To save data of this size, you must use the HDF5-based
> version of the MATLAB MAT-file. Use the –v7.3 option
> to do this:
> save -v7.3 myfile v1 v2
> If you are running MATLAB on a 64-bit computer system and you attempt
> to save a variable that is too large for a version 7 (or earlier) MAT-file,
> that is, you save without using the -v7.3 option, MATLAB
> skips that variable during the save operation and issues a warning message
> to that effect.
> If you are running MATLAB on a 32-bit computer system and attempt to
> load a variable from a -v7.3 MAT-file that is too large
> to fit in 32–bit address space, MATLAB skips that variable and issues
> a warning message to that effect.
>
> Without knowing anymore details, I'd say your variable "P" is too large.
>
> In the future, a short code snippet would help us help you.
> At the MATLAB prompt, try typing:
>
> doc save
>
> for more details.
Sorry for the m file thing. You are right, I am trying to save an mat file on a 64-bit platform. So you mean I can have it on my workspace but it will cause trouble when I save that since it is too big?
I will try save (filename,...,version) and see what happens.
Thanks for your help
|