Hello,
Unfortunately I am unable to reproduce your problem. No matter what I try, I can't get the same error.
In one of your screenshots, I saw that you have multiple S32K1xx toolboxes installed. Please make sure only on in installed.
Can you try these steps, maybe they solve the problem:
1. Revert the MATLAB Path to the Default one.

2. Uninstall all S32K1xx toolboxes. Navigate to the C:\Users\TPEM_USER_1\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes and delete all NXP_MBDToolbox_S32K1xx folder.
3. Restart MATLAB.
4. Go to Preferences -> MATLAB -> Add-Ons and modify the default installation folder to a shorter path and without including spaces . (e.g. C:\MATLAB\Addons\Toolboxes\R2024B)
5. Inside the MATLAB, navigate to the NXP_MBDToolbox_S32K1xx_4.3.0_20220913.mltbx file and double click on it and install the toolbox.
6. Manually activate the toolbox by copying the license.dat file inside the lic folder.
7. Run the mbd_s32k_path script.
Let me know if these steps solve your problem.
Best regards,
Sorin Bancila