Z4: include the matlab code