Support strings with embedded NULs in MATLAB data bindings
Reported by Christopher Stawarz | May 27th, 2011 @ 11:37 AM | in 0.5.0 (closed)
Datum::setString(const char *data, int size)
can be
used to store arbitrary bytes (e.g. an array of C floats). However,
the MATLAB data bindings don't currently handle strings (i.e.
Scarab opaques) with embedded NULs. This should be fixed.
Comments and changes to this ticket
-
Christopher Stawarz June 13th, 2012 @ 02:18 PM
- Milestone set to 0.5.0
- Milestone order changed from 168152 to 0
-
Christopher Stawarz August 15th, 2012 @ 11:23 AM
- State changed from open to resolved
Fixed in this commit. Scarab opaques with embedded NULs are now converted into MATLAB uint8 arrays.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The core framework and supporting libraries for the MWorks Suite