Docs @ Psychtoolbox Wiki : isacell

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

IsACell

PsychtoolboxPsychOneliners

bool = IsACell(input,fhndl)

checks if there is any element in the cell INPUT that satisfies the
logical condition in function FHNDL
works recursively: cells in cells (etc) also checked
the function FHNDL must return a scalar

examples:
checks if there is any struct in the cell:
fhndl = @isstruct
check if there is any element in the cell extending
over more than 2 dimensions:
fhndl = @(x)ndims(x)>2

DN 2008-05-28




Path   Retrieve current version of IsACell.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychOneliners/IsACell.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0184 seconds