The C function (C static library) created by codegen takes an input argument of type const emxArray_uint32_T and return values of type emxArray_struct_T. As the type suggests, input is an array of uint32 and output is array of struct.
I'm not sure how I should use this function in my C program. For the input, should I declare an array of type uint32_T or use the type emxArray_uint32_T ? For the output, because I won't know the size of the output array, how should I declare the array of struct to receive the return values from the function?
Thanks!
Best Answer