How to convert float[][] type array to “emxArray_real_T *x”
I have converted a function which takes a NxN matrix as input and gives a NxN matrix output from matlab to C, using the MatlabCoder. It gave me the function which has two parameters namely void func(const emxArray_real_T *x, emxArray_real_T *y) I get that x is the input to the function and i can get the output of the function from y. The problem is i have a array in float[][] and i wish to give this data as an input to the func, which only takes emxArray_real_T *x as an input. Any ideas on how to convert this float[][] data to emxArray_real_T *x emxArray_real_T has this structure struct