Navigation

Operators and Keywords

Function List:

C++ API

structfun.m File Reference


Functions

 if (nargin< 2) print_usage()
 if (iscell(varargout{1}))[varargout
 !assert (o, l)

Variables

function varargout = structfun (fun, s, varargin)
endif endfunction!test!s name1 = cell2struct (varargout{1}, fieldnames(s), 1) "John Smith"
!s name2 = "Jill Jones"
 !o

Function Documentation

!assert ( o  ,
l   
)

if ( iscell(varargout{1})   ) 

if (  ) 


Variable Documentation

!o

Initial value:

 structfun (@(x) regexp (x, '(\w+)$', "matches"){1}, s, 
%!                "UniformOutput", false)

l name1 = cell2struct (varargout{1}, fieldnames(s), 1) "John Smith"

l name2 = "Jill Jones"

endif varargout = structfun (fun, s, varargin)