[SciPy-dev] Patch for writing Matlab structs with long field names
Mon Dec 8 13:48:12 CST 2008
> You are right, it's probably prudent to refuse to write long field names
> by default.
>> We could try passing the maximum number of characters as an option
> The attached patch (passed on from Lee) gives savemat a new option,
> "long_field_names". This option is False by default, so scipy will by
> default refuse to write structs with field names longer than 31
> characters. If long_field_names is true, up to 63 character will be
> allowed (as supported by recent Matlab versions).
Nice - thank you to you and to Lee, especially for writing the tests,
much appreciated. I've committed that patch.
More information about the Scipy-dev