FT_KEYVAL2CFG
Note that this reference documentation is identical to the help that is displayed in MATLAB when you type “help ft_keyval2cfg”.
FT_KEYVAL2CFG converts between a structure and a cell-array with key-value pairs which can be used for optional input arguments. Use as [cfg] = ft_keyval2cfg(varargin) See also FT_CFG2KEYVAL, FT_GETOPT