func_handle = str2func(str)
| Paramètre | Description |
|---|---|
| str | a string |
| Paramètre | Description |
|---|---|
| func_handle | un function handle. |
function_handle = str2func(str) renvoie un function handle function_handle pour la fonction nommée dans la chaîne str
str nom de fonction ou représentation d'une fonction anonyme.
fh = str2func('cos')
str = func2str(fh)
myFind = str2func('@(x, y) find(x > y)')
M = rand(4, 3, 5);
[R, C] = myFind(M, 0.9)
| Version | Description |
|---|---|
| 1.0.0 | version initiale |