Write formatted string to file fp. File pointer fp shoud have been obtained from a call to fopen or freopen or be the standard output (stdout) or standard error (stderr). The format fmt is equal to C-language format.
SEE ALSO: fopen,freopen,fputs,fwrite,matcvt,cvtmat.