Effacer les filtres
Effacer les filtres

Raspberry Pi solver issue in Simulink

1 vue (au cours des 30 derniers jours)
A.S
A.S le 8 Mar 2022
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

Réponses (1)

Debadipto
Debadipto le 7 Fév 2024
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.

Catégories

En savoir plus sur Raspberry Pi Hardware dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by