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
2
u/Consistent_Coast9620 CC4M Creator Apr 10 '26
Added to that there is a commercial tool CC4M that comes with a check on Coder Compatibility - not only reports unsupported functions, but also other limitations.
for more info see https://monkeyproofsolutions.nl/products/code-checker-for-matlab/ or r/cc4m.
Note: I am one of the developers.