What are the differences between Simulink Real-Time and xPC Target real-time kernel?

조회 수: 86 (최근 30일)
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?
So, can some one clarify what is still in use in 2019?
Thanks,

채택된 답변

Diego Kuratli
Diego Kuratli 2022년 6월 9일
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:

추가 답변 (1개)

Nikunj Bhagat
Nikunj Bhagat 2019년 7월 26일
After some reading, I found out that Simulink Real-Time and xPC Target are the same thing. I also found out about Simulink Desktop Real-Time, which allows you to run a model on a desktop computer in real-time and doesn't require the Speedgoat hardware. It works with many supported DAQ cards such as from Quanser, NI, etc. A complete list of supported devices can be found here : https://www.mathworks.com/hardware-support/simulink-desktop-real-time.html. However, it seems that Simulink Desktop Real-Time doesn't support Arduino or Raspberry Pi yet.
With Simulink Desktop Real-time, the limitation is that it supports sampling rates upto 1kHz and upto 20kHz (when using Simulink Coder). With Speedgoat and Simulink Real-Time (aka xPC-Target) you can get sampling rates upto 50kHz.

카테고리

Help CenterFile Exchange에서 Development Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by