Hello rafael.barbosa@chassisbrakes.com
The consistency checks are set from 2 scripts (2 different scenarios) - so you'll have to edit both of them. The scripts I'm talking about are the following:
mbd_mpc_set_tmf
mbd_mpc_model_init_fcn
The problem with these scripts is that they are pcoded - so you can't edit them as they are. If you are sure you don't need the consistency checks, I can edit them for you and attach them here.
Regarding the code generation, in the newer versions of our toolboxes we have added more functionality, more checks, etc. and this lead to a slow-down on code generation speed. There might be room for improvement, but unfortunately for the moment we are focused on other toolboxes so we can not investigate this issue.
Kind regards,
Razvan.