Does the Matlab Runtime work on NXP IMX8

5 Ansichten (letzte 30 Tage)
Jim Hamilton
Jim Hamilton am 3 Dez. 2021
Beantwortet: Malay Agarwal am 22 Feb. 2024
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?

Antworten (1)

Malay Agarwal
Malay Agarwal am 22 Feb. 2024
Hi Jim,
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!

Community Treasure Hunt

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

Start Hunting!

Translated by