Simulink production function block error in br compilation (NAN and INFINITY)

Hi,

Yes, the work around I have found is to manually define NAN and INFINITY in the auto generated file (see image below). It is rather annoying because you have to do it every time you re-build code from Simulink, but it does resolve the error. Hopefully, someone can come up with a better solution…

Hope that helps in the meantime.
Cheers,
Jeremie