Generating a C code using xPC target for simulink model of serial communication.

1 次查看(过去 30 天)
Hello, I am trying to establish a serial communication between target system and a sensor. And I have created a simulink model and also a matlab code to do so on my laptop(host). Now I need to send this code to the target system via xPC target. But there is no library to support serial communication blocks(Instrument control toolbox) in xPC target. Can you suggest any solution for this problem?

采纳的回答

Shiva Arun Kumar
Shiva Arun Kumar 2012-2-15
Hi Rohan,
There are drivers available to support serial communication from within the Target application. The following link has more information on this:
Thanks, Shiva

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multicore Processor Targets 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by