From: Zongtao on
"Frank W." <yohansan(a)web.de> wrote in message <hr8s5f$h9q$1(a)fred.mathworks.com>...
> > I looked through the posts about HIL, most of which are talking about using xPc target as the controller. Can we use other microporcessor as the controller? If so, how can I get PC (with Simulink environment) connected with the microprocessor?
> >
>
> Hello,
> concerning the supported hardware by xPC Target you may look at
> http://www.mathworks.com/support/product/XP/productnews/interactive_guide/xPC_Target_Interactive_Guide.html
> I doubt that the Freescale processor is supported.
>
> You might want to have a look at the products
> - Real Time Workshop Embedded Coder
> - Embedded IDE Link ( for Tasking see http://www.mathworks.com/products/ide-link/altium-adaptor.html if your processor is supported)
>
> The latter allows generation of processor-in-the-loop (PIL) projects. In such a project at each time step the control algorithm is executed on the real hardware whereas the plant model (or test signals) is run on the PC within Simulink. Of course, this is not real time exececution because each time step Simulink takes its plant values, sends them to the hardware, lets the hardware run the algorithm for on time step after which the program execution stops (breakpoint on your hardware), reads the value from your hardware and then processes the next time step.
> Regards
> Frank
>

Thanks