Hello WeoWang,
I downloaded and installed the latest toolbox from our website (same version as you 4.2.0), and I successfully built the example you mention. As far as I can see in the screenshot you attached, it seems that the .mot files wasn't generated.
In order to identify a possible solution, can you help me with some extra information:
1. Did you make any modification to the example?
2. Do you have read/write rights in the Matlab's current path?
3. Do you have any other toolboxes in the Matlab's path?
4. Did you try to build some other examples? Does it work?
5. Did you set up a custom target compiler?
Some possible fixes might be:
- Remove the toolbox from the matlab's path running the following script "mbd_s32k_path('remove')" then run it again without "remove" argument like this "mbd_s32k_path".
- Delete all the generated folders ("adc_software_trigger_s32k14x_mbd_rtw" and "slprj") and build the example again.
Let me know if any of these fixes helps you, otherwise you can give me any information you find relevant in order to assist you.
Best regards,
Bancila Sorin-Ioanid