Clear Filters
Clear Filters

Raspberry PI Simulink Package Two Encoders XCP Error

1 view (last 30 days)
The model is congifured to run on a raspberry pi 4 model B, This problem appears only when i'm trying to monitor my model after deploying it on the raspberry pi, when only one encoder block exists it works fine, but when i add the second one theis error appears and simulink cann't connect to my to log my data.
  7 Comments
Arnau Mañosa
Arnau Mañosa on 27 Apr 2022
Hello everyone
I had read this document https://es.mathworks.com/help/supportpkg/raspberrypi/ug/remotely-monitoring-and-controlling-an-application-on-hardware.html and for this reason I assumed that it could be worked with XCP and the RPi4.
Anyway, at least I'm not an expert on Simulink. Surely what @Walter Roberson says will surely be more accurate.
On the other hand,@Muhammad Essam can you tell me this about interruptions? What block did you use? Did you use the External Interrupt of the RPi support package?
Today I will try to find a solution.
Thank you all
Hamza Hobbani
Hamza Hobbani on 11 Mar 2024
Hello Mr. Mañosa,
did you find a solution using interrupts?
Thanks.

Sign in to comment.

Answers (1)

Hamza Hobbani
Hamza Hobbani on 6 Mar 2024
Hello Mr. Essam,
have you found a solution for this issue? I am facing the same with my raspi 4 B.
Thanks.
Best

Categories

Find more on Raspberry Pi Hardware in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!