1 Syntax and Runtime Errors. There are two types of errors that appear in MATLAB expressions: syntax errors and runtime errors.