MATLAB: Difference between “Host Target” and “Embedded Target”

embedded targethost target

I want to program my Wemos Lolin32 with OLED using Simulink. So i have to develop the environment in order to program and compile. I´ve been watching lots of tutorials and post and, at the end, I reach a seminar called "Developing Embedded Targets using Real Time Workshop Embedded Coder" in which there are 2 sections:
* Creating a Host Target
* Creating an Embedded Target
I want to make a project in Simulink and then send it to my MicroController (Wemos Lolin32 with OLED) and everything works without being connected to the PC via USB, I want to use it in a AutoControlled Car, a small one.
Thanks in advance

Best Answer

Host Target means you build your code and code runs on your PC. (This is normally done as a prevalidation step) before you take your software to the real environment (your small car).
Embedded Target means, you build your code with the corresponding target compiler and then flash it to your target (controller).