Raspberry PI Simulink Package Two Encoders XCP Error
Show older comments

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
Walter Roberson
on 12 Mar 2022
The reference to XCP tells me that you configured for Simulink Real-TIme, which is intended to be run on SpeedGoat systems. Are you sure that is what you wanted?
Muhammad Essam
on 12 Mar 2022
Edited: Muhammad Essam
on 12 Mar 2022
Arnau Mañosa
on 25 Apr 2022
I have the same problem.
On a model with ony 5 encoders on fixed-time for a RPi4. It's impossible to use more than one at a time.
If anybody knows a possible solution, will ve very apreciated
thanks!
Walter Roberson
on 25 Apr 2022
"xpc" is the Simulink Real-time product. Is that the product you are using? Simulink Real-time is only supported on Speedgoat hardware, not on Raspberry Pi.
Muhammad Essam
on 25 Apr 2022
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
on 11 Mar 2024
Answers (1)
Hamza Hobbani
on 6 Mar 2024
0 votes
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 Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!