[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
octave script HELP
From: |
yasmin |
Subject: |
octave script HELP |
Date: |
Thu, 11 Jun 2015 05:33:42 -0700 (PDT) |
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.
- octave script HELP,
yasmin <=
- Re: octave script HELP, Juan Pablo Carbajal, 2015/06/11
- Message not available
- Re: octave script HELP, Juan Pablo Carbajal, 2015/06/11
- Re: octave script HELP, Yasmin Khattab, 2015/06/11
- Re: octave script HELP, yasmin, 2015/06/11
- Re: octave script HELP, Juan Pablo Carbajal, 2015/06/11
- Re: octave script HELP, yasmin, 2015/06/11
- Re: octave script HELP, Thomas D. Dean, 2015/06/11
- Re: octave script HELP, yasmin, 2015/06/11
- Re: octave script HELP, Thomas D. Dean, 2015/06/12
- Re: octave script HELP, Thomas D. Dean, 2015/06/12