Hello @viet ,
Can you please specify the board on which you are trying to execute the code? Is it the evaluation board, or a custom design? I am asking this because I see in the screenshot attached that you have the COM4 port mounted as well as the COM8 which you are trying to use.

If you are using the S32K1xx evaluation board, make sure to select the COM4 because the pins PTC6 and PTC7, selected in the configuration block are routed on the S32K144 EVB directly to the OpenSDA which acts as a USB 2 Serial.
Also, have you followed the instructions from here?
https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Unable-to-Deploy-and-Start-External-Mod...
Hope this helps,
Marius