python-cffi error while configuring Raspberry Pi to use with the Simulink Support package

9 views (last 30 days)
I have installed Simulink Support Package for Raspberry Pi Hardware package.
I am attempting to configure Raspberry Pi to use with the Simulink Support package.
I am using Customize the existing Raspbian OS running on my hardware option.
I am am getting python-cffi error.
  1 Comment
Ed Barrow
Ed Barrow on 19 Oct 2022
I have this exact problem too! I tried "Setup Hardware with MathWorks Raspbian Image" and while that worked and I could control the RPI with simulink I was unable to use CAN due to a bug in the Kernal version this image is built upon
To get around that I Installed the latest version of Raspbian on my RPI 4B. This allowed CAN to work using the terminal. I then tried the "Customize the existing Raspbian OS running on my Hardware" option where I get the same error as Ishaan. This stops be from being able to control the RPI with simulink, I tried manually installing the package but couldn't find it to install.

Sign in to comment.

Accepted Answer

Ed Barrow
Ed Barrow on 19 Oct 2022
Edited: Ed Barrow on 19 Oct 2022
Hey,
The solution to this is not to use the latest Raspian OS (Bullseye) which is not supported yet but to use an older version (Buster) this then fixes the issue.
Mathworks are aware and are working on Bullseye support

More Answers (0)

Categories

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

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!