CreateLatexTable:

Path: Common/General

% Creates a LaTeX table from x. 
 x may be a two dimensional cell array or a matrix. If fileName is a string, it
 will open a file with the name fileName.tex and write the matrix into the
 file. If instead you enter a file id it will write to the already open file.
 fString applies only to numbers. The default for fString is %12.4e.
--------------------------------------------------------------------------
   Form:
   CreateLatexTable( x, fileName, fString, title )
   CreateLatexTable( x, fId, fString, title )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x               {:,:} or (:,:) Cell array or matrix
   fileName or fId (:)            File name or file id
   fString         (1,:)          Number format string
   title           (1,:)          Table title

   -------
   Outputs
   -------
   None

--------------------------------------------------------------------------

Back to the Common Module page