Create MATLAB Code