Reputation: 1
I have a MATLAB GUI (myGUI.m and myGUI.fig) that works perfectly on my laptop (both Windows and Ubuntu). I need to run this GUI on a Rockchip device (Orange pi 5 plus) with ARM Cortex-A (64-bit) processors, running Ubuntu 22.04. Unfortunately, MATLAB cannot be installed on the Rockchip device, and there is also no MATLAB Runtime available for ARM-based architectures.
I have tried MATLAB Coder and codegen
command to generate C/C++ code from a simple MATLAB function and created an executable on my laptop. I even cross-compiled for ARM, but codegen
does not support MATLAB GUIs.
I also tried MATLAB Compiler, but the generated executables rely on the MATLAB Runtime, which isn't available for ARM processors.
I’m looking for a solution that allows me to run this GUI on the Rockchip Ubuntu system. Ideally, I would like to package the entire MATLAB GUI as a standalone executable, but I am open to alternatives if this is not possible directly.
Any advice or suggestions would be greatly appreciated. Thank you!
Upvotes: 0
Views: 55
Reputation: 25160
You've tried all the right steps I think, and unfortunately this isn't directly possible. As you've observed:
I can think of two broad strategies:
Unfortunately, both approaches require a chunk of work.
Upvotes: 0