You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered: