Info

此问题已关闭。 请重新打开它进行编辑或回答。

RS-232 and Multicore xPC Modelling

1 次查看(过去 30 天)
Nick
Nick 2014-7-21
关闭: MATLAB Answer Bot 2021-8-20
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

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by