Hello marcuslim,
I have attached here a file for you to change, but first make a backup of the file you currently have, so you can revert it back later. You can just rename it with _backup.
Replace the following file:
{MBDT_ROOT_DIR}\mbdtbx_s32k14x\mbdtbx_s32k14x\mbd_s32k14_make_rtw_hook.m
After replacing this file, please run a model and give me the output from Diagnostic Viewer.
Note: to open Diagnostic Viewer, just click the View button - you can find it center-down from in your model, as highlighted here:

Save that output in a .txt file and put it here.
Kind regards,
Razvan.