MATLAB: How do you print a matrix to the default printer

printing arrays to default printer

I have spent an hour trying to find out how to print a matrix of numbers to the default printer for purposes of manual checking. Why is such a simple task so hard to in in MATLAB. All the print commands seem to relate to figures!

Best Answer

I always print to a file, then manually print the file outside of MATLAB. Unlike FORTRAN, where you can specify an output device such as the default printer, that option doesn’t exist in either C (at least the last time I worked with it) or MATLAB.