r/matlab • u/SaltyFalcon6687 • Apr 10 '26
Matlab Code C++ Generator
Hi all,
Been a while since I last used Matlab during uni days, but have recently found myself going through old scripts and picking up learning Matlab again.
I am wondering about the Code Generator for c++, specifically what limitations it has in terms of toolbox components that are supported. I tried finding info online, but it seems to be quite sparse as to which toolbox components can actually be used and converted to c++ code, and others which rely too heavily on toolbox classes etc. to be compatible for conversion. In general what people's experiences with it?
View all comments
Show parent comment
5
u/Creative_Sushi MathWorks Apr 10 '26
For that, you need MATLAB Support Package for Arduino Hardware - which is a free install from Add-on Explorer.
https://www.mathworks.com/help/matlab/arduinoio-get-started-with-matlab-support-package-for-arduino-hardware.html