MATLAB: Does the XPCSLIFACE function take a long time to generate the instrumentation model in xPC Target 2.7(R14)

Simulink Real-Timeslow

When I call XPCSLIFACE for my model with To/From xPC Target block it takes a long time (several minutes) till the instrumentation model is generated and opened.

Best Answer

Using XPCSLIFACE requires a connection between host and target machine. If you use XPCSLIFACE while host and target are connected the time needed for the generation of the instrumentation model is dramatically reduced.