isfun: a pedestrian matlab construct determiner

版本 1.0.0.0 (4.0 KB) 作者: us
determines the definition of ML constructs
4.9K 次下载
更新时间 2003/6/16

查看许可证

res = isfun(arg1,arg2,'-opt',...,argN,'-opt')

determines the definition of ML constructs arg1 ... argN and
returns result-code(s)
in <res>
res.f(x) = arg(x)
res.r(x) = code(x)

SEE
help isfun
for more exhaustive explanations of precedence, return-codes and options

isfun -h
for examples

EXAMPLES
r=rand(1,2,3,4);
e=isfun(r,'r',1:5,'inline',@inline,'sin','sin.m',@sin);
% + double <r> (1,2,3,4) / 192 bytes
% + variable <r> [ var <r>]
% - double <r> (1,2,3,4) / 192 bytes [-: type of <r>]
% + double <*> (1,10) / 80 bytes [*: unnamed]
% + function [ 1/ -1] <MLROOT\toolbox\matlab\funfun\@inline\inline.m>
% + function handle <@inline>
% - function [ 1/ -1] <MLROOT\toolbox\matlab\funfun\@inline\inline.m>
% + built-in function <sin>
% + script <MLROOT\toolbox\matlab\elfun\sin.m>
% + function handle <@sin>
% - built-in function <sin>

引用格式

us (2024). isfun: a pedestrian matlab construct determiner (https://www.mathworks.com/matlabcentral/fileexchange/3009-isfun-a-pedestrian-matlab-construct-determiner), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Function Creation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

extended help again