Function functions eval and feval functions eval evaluates a character string as though it had been typed in the Command Window.