Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Information and Control
See also: _ execfile

Function: exec
Description: Executes the given string as if it was entered in the command line.

Usage: exec(cmd)
Input:
cmd string, containing the command

Note:

Example:
a="reshape((1:4),#(2,2))"
exec(a)

Result:
Contents of reshape

[1,]        1        3
[2,]        2        4



(C) MD*TECH Method and Data Technologies, 05.02.2006