Click DCmotor_Matlab.zip link to download the file.