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

1 view (last 30 days)
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?

Accepted Answer

Shiva Arun Kumar
Shiva Arun Kumar on 15 Feb 2012
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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!