Perform static analysis on generated MATLAB code using the matlab executable: https://www.mathworks.com/help/matlab/ref/checkcode.html