From help-octave-request at bevo dot che dot wisc dot edu Sat Apr 29 04:14:55 2000 Subject: disp() to a file? From: pkienzle at kienzle dot powernet dot co dot uk (Paul Kienzle) To: help-octave at bevo dot che dot wisc dot edu Date: Tue, 2 May 2000 06:53:22 +0100 (BST) How do I print to a file from an m-file without knowing the type of the thing I'm printing? disp(x) works fine to the terminal. I seem to want disp(x,fid). Paul Kienzle pkienzle at kienzle dot powernet dot co dot uk PS, how about redirecting stdout to an already open fid, doing disp, then reverting back to stdout? ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------