From: Gaurav Pandey on 6 Aug 2010 19:57 Hi, I am trying to save a couple of matrices into a mat file in a Matlab session (version 7.6.0.324), but keep getting the following error: "Warning: Variable 'go_selected_label_info' cannot be saved to a MAT-file whose version is older than 7.3. To save this variable, use the -v7.3 switch. Skipping..." I have never faced this error earlier, despite having run the same operation many many times before. When I indeed used the -v7.3 switch as: "save -v7.3 a.mat go_selected_label_info" a mat file of over 500 MB is generated, which is really strange given that the stuff being saved into come from a much larger set of matrices saved into a mat file that is only 2.6 MB! Needless to say, I can't do much with this mat file, since just loading it into a matlab session takes over an hour and often crashes due to the low amount of memory available. Please help in fixing this problem. Thanks in advance! Gaurav
From: Walter Roberson on 7 Aug 2010 23:24 Gaurav Pandey wrote: > I am trying to save a couple of matrices into a mat file in a Matlab > session (version 7.6.0.324), but keep getting the following error: > > "Warning: Variable 'go_selected_label_info' cannot be saved to a > MAT-file whose version is older than 7.3. > To save this variable, use the -v7.3 switch. > Skipping..." > The variable is either more than 2 Gb or includes objects. > I have never faced this error earlier, despite having run the same > operation many many times before. When I indeed used the -v7.3 switch as: > > "save -v7.3 a.mat go_selected_label_info" > > a mat file of over 500 MB is generated, which is really strange given > that the stuff being saved into come from a much larger set of matrices > saved into a mat file that is only 2.6 MB! Is it a sparse matrix? > Needless to say, I can't do much with this mat file, since just loading > it into a matlab session takes over an hour and often crashes due to the > low amount of memory available. -v7.3 format does not appear to use any compression at all, and is often larger than the data being saved, and is often very very slow. :(
From: Gaurav on 9 Aug 2010 14:17 On Aug 7, 8:24 pm, Walter Roberson <rober...(a)hushmail.com> wrote: > GauravPandeywrote: > > I am trying to save a couple of matrices into a mat file in a Matlab > > session (version 7.6.0.324), but keep getting the following error: > > > "Warning: Variable 'go_selected_label_info' cannot be saved to a > > MAT-file whose version is older than 7.3. > > To save this variable, use the -v7.3 switch. > > Skipping..." > > The variable is either more than 2 Gb or includes objects. > > > I have never faced this error earlier, despite having run the same > > operation many many times before. When I indeed used the -v7.3 switch as: > Thanks for the info. However, I really want to understand the root of this problem -- why am I being asked to save this mat file in v7.3 format?! I have never faced this problem before! > > "save -v7.3 a.mat go_selected_label_info" > > > a mat file of over 500 MB is generated, which is really strange given > > that the stuff being saved into come from a much larger set of matrices > > saved into a mat file that is only 2.6 MB! > > Is it a sparse matrix? > > > Needless to say, I can't do much with this mat file, since just loading > > it into a matlab session takes over an hour and often crashes due to the > > low amount of memory available. > > -v7.3 format does not appear to use any compression at all, and is often > larger than the data being saved, and is often very very slow. :(
From: Jan Simon on 9 Aug 2010 15:32 Dear Gaurav, > "Warning: Variable 'go_selected_label_info' cannot be saved to a MAT-file whose version is older than 7.3. Did you already told us the type of this variable? whos go_selected_label_info Kind regards, Jan
From: Gaurav on 11 Aug 2010 14:56 Hi Jan, "go_selected_label_info" is a structure. Is that the root of the problem? Sorry for the late response, but hopefully people will help me debug this soon! Thanks, Gaurav On Aug 9, 12:32 pm, "Jan Simon" <matlab.THIS_Y...(a)nMINUSsimon.de> wrote: > Dear Gaurav, > > > "Warning: Variable 'go_selected_label_info' cannot be saved to a MAT-file whose version is older than 7.3. > > Did you already told us the type of this variable? > whos go_selected_label_info > > Kind regards, Jan
|
Next
|
Last
Pages: 1 2 Prev: How to get the intersection of two lines? Next: Retrieving image from webcam (very slow) |