catching messages of the command prompt

John W. Eaton jwe at bevo.che.wisc.edu
Tue Aug 12 09:22:04 CDT 2008


On 12-Aug-2008, michaelschmid1 at bluewin.ch wrote:

| hi all
| 
| As befor recommended, I tried to catch messages of the command prompt
| with the diary command.
| But it doesn't work on the way I like.
| I describe what I'm doing:
| 
| # part one
| diary log_test1 # as example
| ...
| ...
| diary off # untill here, everything works fine
| fid = fopen("log_test1","r");
| ...
| ...
| ...
| fclose(fid) # everything ok till here
| 
| # part two
| diary log_test2 # ERROR: diary can't open log_test2
| 
| why this error, if I run only the second part, it works!
| If I run only the first part, it works too, but not if I run
| both parts together.

If you think you've found a bug in Octave, please send a complete
report to the bug at octave.org mailing list.  But first, please read
http://www.octave.org/bugs.html to see what information to include so
that your report is useful.

jwe


More information about the Help-octave mailing list