How can I do PIL (Raspberry pi + Simulink)?

조회 수: 11 (최근 30일)
N/A
N/A 2020년 5월 14일
댓글: taha sadeq 2022년 1월 30일
I have a project that is limited in time, and I want to perform Processor In the Loop (PIL) simulation with Raspberry Pi (RPI) and Simulink.
I have a RPI 4 model B 1GB RAM and MATLAB/Simulink R2020a, and my model is already built.
I want only my controller subsystem to run on RPI to insure that it runs in real time.
Myskills in MATLAB/Simulink are intermediate, so I need a simple tutorial explaining in steps how to do so. Also I couldn't find a helpful tutorial in the "Simulink support package for Raspberry Pi" documentation.
Any Help?
  댓글 수: 1
taha sadeq
taha sadeq 2022년 1월 30일
Hello Mustafa,
May I know did you got what you looking for, using raspberry pi4 as PIL?
Thank you

댓글을 달려면 로그인하십시오.

답변 (1개)

Vasco Lenzi
Vasco Lenzi 2020년 11월 19일
Hi Mustafa
I managed to get it working on raspi 3B+ with this file exchange entry:
This is unrelated to the Simulink support package and it uses a custom code generation target.
Hope this helps, even if a bit late :)
Vasco
  댓글 수: 1
Vasco Lenzi
Vasco Lenzi 2020년 11월 20일
Actually scratch what I said in the previous post. In a recent release of Simulink and Embedded Coder you can search for the SIL PIL manager and directly use the dedicated taskbar app to perform SIL and PIL with a configured Raspberry!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by