From bug-octave-request at bevo dot che dot wisc dot edu Thu Aug 31 02:10:53 2000 Subject: diary off From: Paul Soderlind To: bug-octave at bevo dot che dot wisc dot edu Date: Thu, 31 Aug 2000 02:10:44 -0500 (CDT) Hi, I often use diary('filename') to print the results from my script files - but diary off/on does not seem to work during the execution of the script, which is a bit annoying (and different from how MatLab works). An example: --------------------code starts here--------------------------- diary('diaryTst.out'); disp('Hello'); diary off; for i = 1:100; disp(i); end; diary on; disp('world'); diary off; --------------------code ends here--------------------------- In MatLab this surpresses the printing during the loop; on Octave it doesn't. Sincerely, Paul Soderlind ******************************************************** Paul Söderlind Stockholm School of Economics PO Box 6501 (or Sveav. 65) SE-113 83 Stockholm Sweden email: Paul dot Soderlind at hhs dot se homepage: http://www.hhs.se/personal/psoderlind/ telephone: +46-8-7369601 ******************************************************** ----------------------------------------------------------------------- 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 -----------------------------------------------------------------------