catching messages of the command prompt

michaelschmid1 at bluewin.ch michaelschmid1 at bluewin.ch
Tue Aug 12 02:26:00 CDT 2008


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.

Thanks for any help

Michael




More information about the Help-octave mailing list