Keywords: kirja

Next: n = fprintf(fpfmt[, Up: MATC Internal Functions Previous: str = fgets(fp)

# n = fwrite(fp,buf,n)

Write n bytes form buf 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). Return value is number of bytes actually written.

Note that one matrix element reserves 8 bytes of space.

SEE ALSO: fopen,freopen,fputs,fprintf,matcvt,cvtmat.