| 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 | |
a="reshape((1:4),#(2,2))" exec(a)
Contents of reshape [1,] 1 3 [2,] 2 4
| Group: | Information and Control |
| See also: | _ execfile |