Suppose I have a stucture file in MATLAB workspace that contains several parameter and matrices of different data type (e.g. int or double, etc.). It is required to save this struct file as single .dat file (i.e. an array of size equal to over all memory space filled by all the variables) such that it can be accessed in a C++ program to read the contents using *fid and *fread instructions.
Useful advices are anticipated.
Regards.
Helal