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

6 vues (au cours des 30 derniers jours)
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.

Réponses (2)

Walter Roberson
Walter Roberson le 14 Août 2019
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.
  1 commentaire
Dr. JANAK TRIVEDI
Dr. JANAK TRIVEDI le 16 Août 2019
Thank you Sir,
I will tried and search otherwise your answer is final outcome for me.
Thank you once again.

Connectez-vous pour commenter.


Andrey Kiselnikov
Andrey Kiselnikov le 13 Août 2019
Modifié(e) : Andrey Kiselnikov le 14 Août 2019
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 commentaires
Dr. JANAK TRIVEDI
Dr. JANAK TRIVEDI le 14 Août 2019
OK,
I have already done this task with the help of
and
But my question is,
Can I able to load my GUI program on raspebeery pi and work as stand alone device for the same ?
Like using python it is possible.
But like same for matlab ???
Andrey Kiselnikov
Andrey Kiselnikov le 14 Août 2019
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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Support Package for Raspberry Pi Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by