Open HalifaxNick opened 1 year ago
I encountered the same issue. When calling TinyMATWriter_writeStringVector
or TinyMATWriter_writeStringList
in the same way, it results in an unknown empty field being added to the corresponding struct in the generated .mat file.
I'm trying to write a vector of strings to a MATLAB structure using the following pseudo code:
TinyMATWriter_startStruct(...) TinyMATWriter_writeStringVector(...) TinyMATWriter_endStruct(...);
The code compiles and runs fine but when I try to open the resulting .mat file in MATLAB I get the following error: "Cannot read file test.mat"
If I move TinyMATWriter_writeStringVector(...) outside of the structure everything works fine. Any idea what I might be doing wrong?