help-octave
[Top][All Lists]
Advanced

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

Re: octave script HELP


From: Yasmin Khattab
Subject: Re: octave script HELP
Date: Thu, 11 Jun 2015 15:22:59 +0200

okay  what does it "octave --no-gui" do ?

On 11 June 2015 at 15:19, Juan Pablo Carbajal <address@hidden> wrote:
On Thu, Jun 11, 2015 at 3:15 PM, Yasmin Khattab <address@hidden> wrote:
> because i am using ssh and it's a whole process and in the end i save the
> files and i need to plot them ..please help me i am desperate !
>
> On 11 June 2015 at 15:13, Juan Pablo Carbajal <address@hidden> wrote:
>>
>> On Thu, Jun 11, 2015 at 2:33 PM, yasmin <address@hidden> wrote:
>> > Hello i really need help with this i'm new to octave !
>> > i was trying to make a bash script that runs octave  and some octave
>> > commands but it didn't work
>> > so i made 2 scripts , the first one runs octave and then go to the other
>> > script and passes an argument to that other script, through:      octave
>> > script.sh 1
>> > here is the other script/the octave script  :
>> >
>> > #! script.sh -q -f
>> >
>> > M = dlmread("/dev/shm/waitingTime"$1".txt");
>> > x = M(:,1);
>> > y = M(:,2);
>> > WT = stem(x,y);
>> > `saveas(WT, "/dev/shm/wt"$1".pdf");`
>> >
>> > M = dlmread('/dev/shm/thinkingTime'$1'.txt');
>> > x = M(:,1);
>> > y = M(:,2);
>> > TT = stem(x,y);
>> > `saveas(TT, "/dev/shm/TT"$1".pdf");`
>> >
>> > close all
>> >
>> > the problem is in the line M = ...
>> > at the $1 which is the argument sent to octave ...now i really don't get
>> > where the problem is any help ?
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> > http://octave.1599824.n4.nabble.com/octave-script-HELP-tp4670813.html
>> > Sent from the Octave - General mailing list archive at Nabble.com.
>> >
>> > _______________________________________________
>> > Help-octave mailing list
>> > address@hidden
>> > https://lists.gnu.org/mailman/listinfo/help-octave
>>
>> Why do you need bash scripts?
>>
>> Can't you just run octave (--no-gui if you want command line) and call
>> your scripts directly?
>
>

Please do no write to people directly, use the mailing list. Also,
please answer at the bottom as I am doing (easier for people who read
the messages in the archive).

Could you describe exactly your problem? You can log in to another
machine via ssh and run "octave --no-gui"


reply via email to

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