% -*- texinfo -*- % @deftypefn {Function File} {} tblwrite (@var{data}, @var{varnames}, @var{casenames}, @var{filename}) % @deftypefnx {Function File} {} tblwrite (@var{data}, @var{varnames}, @var{casenames}, @var{filename}, @var{delimeter}) % Write tabular data to an ascii file. % % @var{data} is written to an ascii data file named @var{filename} with % an optional @var{delimeter}. The delimeter may be any single % character or % @itemize % @item 'space' ' ' (default) % @item 'tab' '\t' % @item 'comma' ',' % @item 'semi' ';' % @item 'bar' '|' % @end itemize % % The @var{data} is written starting at cell (2,2) where the % @var{varnames} are a char matrix or cell vector written to the first % row (starting at (1,2)), and the @var{casenames} are a char matrix % (or cell vector) written to the first column (starting at (2,1)). % @seealso{tblread, csv2cell, cell2csv} % @end deftypefn