What are the differences between Simulink Real-Time and xPC Target real-time kernel?
62 views (last 30 days)
Nikunj Bhagat on 11 Jul 2019
Hello MathWorks Community,
I am trying to implement hardware-in-the-loop simulation using a desktop PC + (NI DAQ card or Raspberry Pi) instead of using Speedgoat. I understand there will be limitations with this solution, but I am looking at a sampling rate of 100Hz, so I figure it shouldn't be a huge issue. However, I am not sure if xPC target is still in use or has it been replaced by Simulink Real-Time?
I found an old thread from 2011 comparing Real-Time Windows Target with xPC-Target https://www.mathworks.com/matlabcentral/answers/99054-what-are-the-differences-between-real-time-windows-target-and-xpc-target?s_tid=answers_rc1-1_p1_Topic
So, can some one clarify what is still in use in 2019?
Diego Kuratli on 9 Jun 2022 at 21:06
xPC Target has been renamed to Simulink Real-Time.
Simulink Real-Time supports Speedgoat hardware for rapid prototyping and hardware-in-the-loop testing:
Real-Time Windows Target has been renamed Simulink Desktop Real-Time. With Simulink Desktop Real-Time you can run real-time simulations in your desktop computer and connect selected I/O interfaces:
For Raspberry Pi, you can use the Raspberry Pi Support Package for Simulink: