Info

This question is closed. Reopen it to edit or answer.

RS-232 and Multicore xPC Modelling

1 view (last 30 days)
Nick
Nick on 21 Jul 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi,
Over a number of weeks I have been developing a plant model which runs on an xPC target machine to perform some HiL testing, and one of the functions it needs to perform is RS-232 comms with the board we are testing. Now the plant model has grown to the point where I am unable to get it to execute at the required rate on a single core, so was hoping to be able to move over to using concurrent execution with a multirate design.
However, as I discovered, the xPC RS-232 blocks do not allow execution from within a model reference, and mutlicore designs do not allow anything but model reference blocks in the top level design.
Is there any way around this? Or is it just not possible to use RS-232 as part of a multicore design?
Many thanks,
Nick

Answers (0)

Community Treasure Hunt

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

Start Hunting!