Hi Matt,
Thanks for your suggestion.
When compiling the generated code with cmake, one can specify DLONG and DFLOAT as cmake options. However, it was not possible to set these flags when compiling mex interface for the generated code.
I added in
this commit new arguments FLOAT and LONG to codegen method. I will update the documentation accordingly.
Goran