MATLAB is an interpreter. As part of its internal optimizations, sometimes it compiles portions of the code using its own internal facilities (not using an external compiler).
MATLAB and Simulink can generate code that can be compiled by external compilers, in restricted circumstances thatmostly involve using additional (expensive) Mathworks products, but this does not hold for most of the operations.
Best Answer