help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help


From: Juan Pablo Carbajal
Subject: Re: help
Date: Fri, 24 Feb 2012 07:39:20 +0100

On Fri, Feb 24, 2012 at 2:04 AM, sw007 <address@hidden> wrote:
> I am using 3.2.4 on ubuntu. I just found out that it is due to my using of
> "QtOctave" as interface. The diary function works fine when I do this on the
> terminal, and it is unstable if I use "QcOctave". However, the publish
> function still fails to work even in terminal. When I typed
> publish('myscript')
> It executed the whole script fine, including making the diary. However, it
> produced an empty document entitled "publish_tem_script.txt ".
>
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/help-tp4412177p4415781.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave

diary also saves the prompt of your commands, therefore the raw output
is not a valid script file. The following fails:
> diary test_diary.m
> a=1
> disp (a+2)
> diary
> test_diary

If you want to create scripts while you write, I recommend that you
use gedit (which colorizes Octave code beautifully, thanks to Carnë's
conf file) and a terminal running octave. You can make gedit 80
columns wide and the rest of the screen you use your terminal in
"Always on Top" option; in this way you clicking and writing in your
text doesn't hide your terminal. You write your code in gedit and test
it in Octave calling the script. Just a suggestion.


-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]