Difference Between S Function And Matlab Function