CPRINTF
- converts
an ND array of
- real and/or complex full numeric data
- real and/or complex sparse numeric data
- logical data
- char strings
- structures
- other objects
or an ND cell array of any combination of the above
to a 2D character array
- creates tables
- the input may be a cell array formatted as a table with
row/column labels and row/column separators
- any simple (ND) array can be formatted as a table using
any combination of
row/column labels and row/column separators
many options allow to format each aspect of the input and output
to better organize a project using CPRINTF
- options may be entered by an option structure
- options may be read from any ASCII file
- options may be saved in an executable m-file, which
returns an option structure
saving output
- the output may be saved in an ASCII file
- optionally, a file template may be used to insert the
result at a marked position
- tokens in a file template may be replaced by user defined
strings during runtime
CPRINTF may be a useful front end engine to create input for a spreadsheet program
see
> help cprintf
and the accompanying published M-file for more information and examples
use
> cphelp
to open the published M-file in a ML browser window
> cpdoc
to run the examples used in the published M-file |