Raspberry Pi solver issue in Simulink

조회 수: 3 (최근 30일)
A.S
A.S 2022년 3월 8일
답변: Debadipto 2024년 2월 7일
Hello,
I am trying to view the result of a system on the green LED of my Pi. The model I have used is the closed loop engine model from Simulink library and by attaching the output to a subsystem, I wanted to trigger the light should the rpm surpasses a certain amount. The model works fine by itself in local mode but as soon as I put the related blocks for my pi and deploy it to the hardware the output is completely ruined. The desired output fluctuates between 2000 rpm and 3000 rpm, but the output from the scope after deployment shows irrelevant values.
Here is my entire model

답변 (1개)

Debadipto
Debadipto 2024년 2월 7일
Hi @A.S,
It is hard to tell the root cause of the issue without looking into the specific hardware and setup you're using. One possibility could be that the issue might lie in the Raspberry Pi itself. Please see attached document for detailed instructions and troubleshooting tips on how to setup the network connection between Raspberry Pi and Simulink.

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by