Thank you for the project.
I copied the .mex file into one of my projects and, interestingly, I don't see any errors when generating code from it..

Could you please clarify what you mean by: "I copied the configuration from an S32K344 configuration with RTD 6.0.0"? Did you copy the .mex file from a project that was originally created with RTD 6.0.0?
Regards,
Daniel