|
From: | Michael D. Godfrey |
Subject: | Re: Maximum namelength for variables in -v6 .mat files |
Date: | Wed, 13 Mar 2013 19:24:47 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 |
On 03/13/2013 07:13 PM, Rik wrote:
3/13/13 All, I'm trying to resolve a report (https://savannah.gnu.org/bugs/?34676) where Octave is truncating variables saved in -v6 format to 31 characters. Octave is definitely doing this. I find this line in the code size_t max_namelen = (mat7_format ? 63 : 31); But what does Matlab itself do? Could someone with Matlab verify the following? clear all; x12345678901234567890123456789012345 = 1; save ('tst.mat', '-v6'); clear all; load ('tst.mat'); who --Rik
>> clear all >> x12345678901234567890123456789012345 = 1; >> save ('tst.mat', '-v6'); >> clear all; >> load ('tst.mat'); >> who Your variables are: x12345678901234567890123456789012345 >> version ans = 7.9.0.529 (R2009b) >>
[Prev in Thread] | Current Thread | [Next in Thread] |