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_stru
You need to use emxArray_uint32_T and emxArray_struct_T. All of the MATLAB Coder defined datatypes that the code uses (and you need to use) are defined in the YourLibName_types.h header file.