xPC Target | ![]() ![]() |
Running a Target Application with a User Interface Model
After you create an xPC Target application, download that application to the target PC, and create a Simulink user interface model, you are ready to use the user interface model as a graphical interface to the target application. See Creating a Target Application Model and Creating a User Interface Model.
When starting the simulation of your GUI interface, you might get an error with one or more of the To xPC Target or From xPC Target blocks. To correct this problem, create a temporary GUI using the function xpcsliface('xpc_tank1')
, delete the problem blocks, and then copy new xPC Target interface blocks from the temporary GUI. Save the model and restart the simulation.
![]() | Creating a Target Application | Embedded Option | ![]() |