tbeu / matio

MATLAB MAT File I/O Library
https://matio.sourceforge.io
BSD 2-Clause "Simplified" License
338 stars 97 forks source link

interleaved complex array #205

Closed mipac closed 1 year ago

mipac commented 1 year ago

I’m new to matio and I’m trying to write/read complex vector to mat file

I use a float[2] complex data type in C, where real and imag are interleaved

could you help me to write a simple read write example for this kind of data?

tbeu commented 1 year ago

You can take test_write_complex_2d_numeric from test_mat.c as a starting point.