Returns the full path of a function. |
||
Syntax |
p = which(f) |
|
Argument |
Name |
Description |
|
f |
A string (function name) or function. |
Outputs |
Name |
Description |
|
p |
The full path of the function. |
Example |
Syntax |
|
|
print(which('which')) print(which(which)) function foo() return 1; end print(which(foo)) print(which(Norm)) |
|
Comments |
p = which(f) returns the full path of a function. If this function is a built-in or a function defined from the command line, |
|
See Also: |