Does MATLAB GUI can work standalone when installed to Raspberry Pi using matlab code (.m file)?

조회 수: 12 (최근 30일)
I did an image processing program using Matlab Guide and is it possible to run the GUI on the raspberry pi using matlab code (.m file)? Thank you very much.

답변 (2개)

Walter Roberson
Walter Roberson 2019년 8월 14일
There are no versions of MATLAB that can run on ARM CPU.
Executables created with MATLAB Compiler and MATLAB Compiler SDK can only run on chips that MATLAB itself can run on. Therefore you cannot use them to create programs that run on ARM CPU.
You should not expect that Mathworks will create a version for Raspberry or Arduino at least until Raspberry starts making devices with 64 bit CPU and at least 4 gigabytes of ram, and significantly faster than the current devices.
Your two possibilities at the moment:
  1. create a Simulink model and deploy it to Raspberry. Those models can run stand-alone. However the graphics is very basic and many things are not implemented.
  2. using a quite recent version of MATLAB, you can use MATLAB Coder to generate code targeted to Raspberry. If you build a complete program then it can run stand-alone on Raspberry. However the graphics is very basic and many things are not implemented.
The graphics involved with GUIDE is not supported on Raspberry.

Andrey Kiselnikov
Andrey Kiselnikov 2019년 8월 13일
편집: Andrey Kiselnikov 2019년 8월 14일
It isn't possible to install MATLAB on Raspberry PI to run *.m files (only this way will allow you to run *.m files on Raspberry, but I didn't test it), but there is a better way to deploy image processing algorithms on this platform. I tried it by myself and was glad.
About MATLAB compiler well answered here:
p.s. This is a demonstration of the example, but it was made for Russian speaking auditory, anyway, you can watch the process in real.
  댓글 수: 2
Andrey Kiselnikov
Andrey Kiselnikov 2019년 8월 14일
NO.
"No. The ARMv6 will never be supported by MATLAB Compiler Runtime. I cannot predict as yet whether the ARMv7 will ever be supported; perhaps by R2019b, but it would not surprise me if the ARMv8 is the lowest ARM version that will ever be supported."
The full answer is here:
p.s. if my help was usefull please mark answer as accepted.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for Raspberry Pi Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by