catching some message from command prompt
Olaf Till
olaf.till at uni-jena.de
Mon Aug 11 05:01:25 CDT 2008
On Mon, Aug 11, 2008 at 07:56:28AM +0000, michaelschmid1 at bluewin.ch wrote:
> Hi all
>
> I need the message I'm writing to the octave command prompt for
> testing purpose. Now I don't want put some additional code into
> the "function codes". That's why I'm wondering if I can
> catch the message to reuse it.
>
There is a history file ("~/.octave_hist"). It does not necessarily
contain all commandlines of your current Octave session until you exit
Octave. But you can write a file with all commandlines of the current
session, see "help history". Olaf
More information about the Help-octave
mailing list