Hi wangxuan,
I did a little bit of digging and i was able to make your model (the one that you have attached here: https://community.nxp.com/servlet/JiveServlet/download/967567-1-412987/kv4xf_adc_parallel_simult.mdl... ) to generate the code correctly.
Here is what i've changed (in case someone else might be interested)
#1: disabled the Code Generation: Start TLC debugger when generation Code. That option should be unchecked otherwise the code generation will stop.

#2. Enabled the Verbose Build option to see the output of the code generation in the Simulink build console

#3 Disabled the "Enable PIL Mode Download" option - since you wish to generate the code and download it to the target for the real peripherals

#4: Covert the model back to "Stand Alone model" to make it compile with cross compiler toolchain for the CPU and Board you have selected

Now, after all these 4 modifications you should be able to see the *.elf and *.mot file generated.

Now, in respect with your issue of not being able to build the code successfully i think it is related with the paths on your PC

As i can see from your screenshot, it looks like the "Program Files" folder is NOT RECOGNIZED - and the make file looks for a folder that does not exists: "D:/Program"
I think you are in the same situation as the one described here: Something wrong happens when starting SIL or PIL simulation
Please try to apply the same workaround (https://community.nxp.com/thread/451367#comment-906759) - or at least avoid paths that contains spaces.
Hope it helps!
Daniel