Angular Input Set Function Matlab