Does the Matlab Runtime work on NXP IMX8
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
We comile our Matlab code into a dll and run our production code using Matlab Runtime. THis is currently running on x86 hardware. We would like to run our production code on NXP iMX8 ARM processor. Is this possible?
0 comentarios
Respuestas (1)
Malay Agarwal
el 22 de Feb. de 2024
Hi Jim,
According to an accepted answer (https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Does-the-Matlab-Runtime-work-on-NXP-IMX8/m-p/1466967) on a thread on NXP’s online community:
“The recommended / best way to get your MATLAB algorithm to run on IMX8 is to use the MathWorks Code Generation tools (MATLAB Coder and Embedded Coder). This converts your MATLAB algorithm into high-performance C /C++ code. Then you use MCUXpresso (or IDE of you choice) to deploy on to the IMX8.
I don't think it is possible to run the Runtime on IMX8, and even if you could (maybe via some Linux tricks) I'd expect performance issues - modern MATLAB and the Runtime is not designed to run on embedded platforms, even one as advanced as IMX8.”
Please refer to the following for information on how MATLAB code can be deployed to NXP hardware efficiently: https://www.mathworks.com/hardware-support/nxp.html.
I hope this answers your query!
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!