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

6 次查看(过去 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