Matlab standalone application running on Raspberry Pi or Xilinx Zynq-7020
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(2 个)
Yuebin Zhou
2016-3-4
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.
0 个评论
Stefanie Schwarz
2021-3-30
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!