xpc target

조회 수: 43 (최근 30일)
chef13
chef13 2012년 2월 12일
답변: Diego Kuratli 2022년 6월 9일
Hi to all, I'm a student of automation engineer.
For my thesis, my tutor said to me that would be important to learn using the xpc Target of Simulink. I agree with him but now I don't know if I understood well its utility. I want to show you what I understood about xpc target in few words:
xpc target is a real time software environment that allows the simulation of a physical system. To let work xpc target and perform the Hardware in the Loop (HIL) I need 2 computers: 1 host computer that I need as Interface 1 target computer that I need as target and on this computer I want to simulate my physical system. The 2 computers are connected through a RS232 serial cable and I can watch what's happen in the physical system and I can change the behavior of it.
Do you think that I have understood what xpc target is?
Thank you in advance for your answers.

채택된 답변

Diego Kuratli
Diego Kuratli 2022년 6월 9일
xPC Target has been renamed to Simulink Real-Time.
To learn more about Simulink Real-Time, please visit the product page:

추가 답변 (1개)

Doug Eastman
Doug Eastman 2012년 2월 13일
Yes, you have the basic idea correct. If you haven't already I recommend reading through the xPC Target Product Page. All the features are described there in detail. There is also a nice video that gives a brief overview.
I would only make a couple comments on your description:
1) It is certainly used to simulate physical systems for HIL testing as you mention, but it can work with other Simulink models, such as control algorithms, so you can quickly test the algorithm with the actual plant (rapid prototyping).
2) The connection between the host and target can also be through ethernet, which is the more common and recommended approach.
  댓글 수: 2
chef13
chef13 2012년 2월 13일
Oh, thank you Doug.
I want also to know other basic things:
1) Is it possible to work with the xox target without an hardware connected to the target pc and simulate the hardware through a model? Or I need an acquisition card?
2) can I use a 64 bit windows 7 pc as a host and a 32 bit windows xp pc as a target pc?
Thank you in advance for your answers!!
Doug Eastman
Doug Eastman 2012년 2월 14일
1) Yes, the xPC Target machine can be running a pure simulation that is not connected to any external hardware, so you don't need to have a data acquisition card.
2) Short answer is yes. The target machine runs the xPC Target Kernel, so it won't use a standard OS like Windows (you could have Windows installed and dual-boot into that if you wish, but it is not necessary). The host machine can be either 32-bit or 64-bit Windows.

댓글을 달려면 로그인하십시오.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by