add matlab code for model