sofacoustics / SOFAtoolbox

SOFA Toolbox (API for Matlab, Octave)
http://sofaconventions.org
European Union Public License 1.2
116 stars 31 forks source link

String support in Octave broken #8

Closed petibub closed 2 years ago

petibub commented 9 years ago

Error in line 61 of demo_SOFAstrings: Comparison between Obj.Data.String1 and Obj2.Data.String1 fails. In Obj2, the strings are longer and end with a blank. This should not happen.

hagenw commented 9 years ago

This bug has to come directly from the underlying octave-netcdf package as we use the same code for Matlab and Octave now. This means we should maybe report the bug there.

isfmiho commented 2 years ago

fixed by using 'deblank' in NETCDFload