Reading/Writing RH850 Input/Output pins in Simulink

조회 수: 3 (최근 30일)
Niravkumar Ambaliya
Niravkumar Ambaliya 2019년 11월 11일
Hi All,
I am trying to connect my RH850 custom board to simulink and when I run simulation I want to read/write I/O pins to/from Simulink while the simulation is running on my computer. Something similar to arduino/raspberry pi toolbox in simulink. I would also like to generate code from this model.
What is the best possible way to achieve this? Will this be called PIL or External mode?
I am trying to implement C-Mex S-functions for each inputs, outputs, pwm etc. But what I am not sure of is how will simulink communicate with the hardware when simulation is running?
Any help is greatly appreciated.
Thanks,
Nirav

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by