matlab - Reading .mat file in C++ -
i trained model in matlab , model parameters saved in .mat file. want read parameters in c++.
i have uploaded similar model here.
i can open model.mat file using matopen , access field names. i'm not able access contents of array of structures.
can me that.
thank you.
you take matio: www.github.com/tbeu/matio
matio open-source c library reading , writing matlab mat files. library designed use programs/libraries not have access or not want rely on matlab's shared libraries.
it supports matlab file versions, including (nested) structs , cells.