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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Shiva Arun Kumar
Shiva Arun Kumar il 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

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by