Does the Matlab Runtime work on NXP IMX8
조회 수: 5 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Malay Agarwal
2024년 2월 22일
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!