Version 1.5.28 release
Thanks for your efforts and report. Unfortunately Fortran interface is not tested. I gave up on https://github.com/tbeu/matio/issues/51 as I failed. (That#s why it says "help wanted".) I would appreciate if we could set up a CI stage to build and run the Fortran interface.
This is known issue in matio about the opaque data type, see e.g. https://github.com/tbeu/matio/issues/77 . How did you create the file in MATLAB? Can you use struct as workaround?
This is known issue in matio about the opaque data type, see e.g. https://github.com/tbeu/matio/issues/77. How did you create the file in MATLAB? Can you use struct as workaround?
This is know issue in matio about the opaque data type, see e.g. https://github.com/tbeu/matio/issues/77. How did you create the file in MATLAB? Can you use struct as workaround?
Yes, MATLAB R2023a is supported. Code snippet LGTM. Can you attach the MAT file here for reproduction on my side?
Version 1.5.27 release
The memory passed to Mat_VarCreate needs to be contiguous (3 * 4 * 2 * 8 bytes in your example), which is not the case for std::vector<std::vector<...>>.