Matlab standalone application running on Raspberry Pi or Xilinx Zynq-7020

2 visualizaciones (últimos 30 días)
Hi to everyone, I have a question about running functions written in Matlab on a Raspberry Pi or a Xilinx Zynq-70XX. My plan is to read data from a database (Database toolbx) over a network with the Raspberry Pi. Then to evaluate the received data with a self written function and send this evaluation in the network to a database. In Matlab everything works perfectly. Now my question is, is it possible to export this "project" to the Raspberry Pi or Xilinix board, to run these functions without a connection to Matlab or the computer and how would you do this? Thanks in advance for your help.

Respuestas (2)

Yuebin Zhou
Yuebin Zhou el 4 de Mzo. de 2016
To run standalone applications created from MATLAB compiler, MATLAB Runtime is required to be present on the machine. I don`t think MATLAB Runtime can be installed on these boards.

Stefanie Schwarz
Stefanie Schwarz el 30 de Mzo. de 2021
You will need Embedded Coder to create C/C++ from your MATLAB code or Simulink model, so that you can build "real" standalone exectuables to run on embedded hardware like Zynq or Raspberry Pi.
The steps to run a MATLAB/Simulink created application standalone on a Zynq target is explained here:
However, note that Database Toolbox functionality is not supported for C/C++ code generation. The only kind of deployment that is supported with Database Toolbox would be with MATLAB Compiler, but as Yuebin said, the MATLAB Runtime does not work on embedded targets like Zynq.

Categorías

Más información sobre Embedded Coder en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by