isfun: a pedestrian matlab construct determiner

Version 1.0.0.0 (4.02 KB) by us
determines the definition of ML constructs
4.9K Downloads
Updated 16 Jun 2003

View License

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>

Cite As

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. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Function Creation in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

extended help again