run_matlab_code displays errors again