I used matlab coder to convert a matlab code to C. The simple array I had defined in matlab got converted to a complicated struct in C.
struct emxArray_real_T
{
double *data;
int *size;
int allocatedSize;
int numDimensions;
boolean_T canFreeData;
};
It would be of great help if anyone can shed any light on how to work with this struct.