Hi @Daniel_Popa @mariuslucianand
After I follow the instruction above, the build process cannot success.
The building environment is as follow,
*OS : Windows 11 21H2

*Matlab : R2018a with MBD Toolbox v3.2


*S32DS : v2.1

*MPC5744P : rev B
The Simulink model I build to test is【uart_hello_world_mpc574xP.mdl】from MBD Toolbox v3.2, I attached the file as【uart_hello_world_mpc574xP.zip】.

The build process of model is shown as attached file 【uart_hello_world_mpc574xP_matlab_build_20220411.txt】, in short, it build completely as figure below.

The generated file is attached as【uart_hello_world_mpc574xP_mbd_rtw.zip】.
Then I load the xml of this project to S32DS for building, the result is as figure below,

However, the building result is failed because of the issue as figure below,

log of detailed building is shown in attached file【uart_hello_world_mpc574xP_s32_build_20220411.txt】.
By the way, if I build model with CAN, it will show that 【can_message.h】is missing, I found it at Matlab installation directory.
I copy it to the directory where the project is build ( should it be automatically access with xml of project ? ),
the error is eliminated but it still cannot be successfully build for the same reason as【uart_hello_world_mpc574xP】.
Please give me guidance, thank you!!