Hi, @paul_ephraim_13,
From what I can see in the screenshot you provided, you are trying to generate code in a different folder than the model location, which is not necessarily a problem, but you need to do some additional checks to make sure the build works correctly.
What I recommend you do initially is to try to generate code in the folder where the toolbox is installed. If you have several versions of the toolbox installed, trying to generate code in a folder from another location can cause problems, because the versions of the toolbox can interfere. This may be one of the causes.
Try to create your model in a folder inside the S32K3_Examples folder, for example, and generate code in the same location as the Simulink model.
If you still encounter errors, leave us the entire log attached to try to find the cause of the problem.
Best regards,
Dragos