HI @mariuslucianand
When we use the MCAN receive block, we encounter the error in the picture.
''''''Error: Simulink Coder Error: The specified port index 'Number' of <S2>/MCAN_Receive should be a number between 0 and 3.'''''
We applied the fields on this page
https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Build-Fails-When-Target-MCU-gt-Family-i...
ahmetsaglam_0-1636530077375.png
ahmetsaglam_2-1636530378339.png
ahmetsaglam_1-1636530223008.png
Regards
Ahmet