Clear Filters
Clear Filters

Matlab GUI on Raspberry Pi: Installing on Pi via Windows?

10 views (last 30 days)
Hello, everyone,
I have the following challenge to solve:
I have a Raspberry Pi 4 Model B with 4GB Ram. Now I have dealt intensively with the support package for Raspberry Pi in Matlab and also in Simulink and put it into operation. However, I would like to operate the Pi standalone with a graphical user interface (GUI) on the connected touch screen. However, the Matlab / Simulink compiler does not allow a GUI or similar, right?
Since I can't run Matlab directly on the ARMv8 CPU (can I?), I considered installing Matlab directly on the Pi and doing the development and execution there. Can I get Matlab directly on Ubuntu? I can certainly install Windows on the Pi and then run Matlab on it there.
What do you think about my problem?
Thanks very much.

Answers (1)

Ayush
Ayush on 1 Dec 2023
Hey Julian,
I understand that you are currently working with a Raspberry Pi 4 Model B and have successfully set up the support package for Raspberry Pi in MATLAB and Simulink. You are now looking to operate the Pi independently with a graphical user interface (GUI) on a connected touch screen. However, you've encountered limitations with the MATLAB/Simulink compiler, which seems to prohibit the use of a GUI. Considering the inability to run MATLAB directly on the ARMv8 CPU, you are exploring options such as installing MATLAB on the Pi, running it on Ubuntu, or even installing Windows on the Pi for MATLAB usage.
Here's a step-by-step response for the above question:
1. MATLAB Compiler and GUI: MATLAB Compiler does not support standalone GUI applications for Raspberry Pi.
2. Direct Installation on Raspberry Pi: MATLAB does not officially support running directly on ARMv8 CPUs like the one in the Raspberry Pi
3. Ubuntu on Raspberry Pi: You can install Ubuntu on the Pi and then attempt to install MATLAB, but ARM architecture limitations may affect compatibility.
4. Running MATLAB on Windows: Running Windows on a Raspberry Pi is complex and may not provide optimal MATLAB performance.
Moreover, you can also explore deploying web-based customizable dashboards blocks on Raspberry Pi using Simulink. For more info on this, refer to the MathWorks documentation link below: https://www.mathworks.com/help/supportpkg/raspberrypi/ref/get-started-with-deploying-web-based-customizable-dashboard-blocks-on-raspberry-pi.html
Hope this helps!
Regards,
Ayush Goyal

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!