help-octave
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Octave startup message
From
:
Sanjay H A
Subject
:
Octave startup message
Date
:
Thu, 26 Apr 2007 10:57:10 -0400 (EDT)
Hi
I am using octave from script file
My script file looks like this
#! /usr/bin/octave -q -f -p /home/sanjay/GradSolve/Mgrid_GradSolve_sandip/perfModels/
train_init.m
I am using -q option to avoid displaying startup message.
But still i am getting startup message
How to overcome this problem
Another problem is i am getting error message from my .m script. But I am getting correct output from the program. Can you suggest what is this error
error: can't perform indexing operations for
type
error: near line 17 of file `/garl/garl-alpha1/home/sanjay/scheduler_simulator/train_init.m'
My script(train_init.m)looks like this
mdata=[load('/home/sanjay/scheduler_simulator/eigen/eigen_training.dat')];
x=mdata(:,1);
p=mdata(:,2);
cpu=mdata(:,3);
bw=mdata(:,4);
b=mdata(:,7);
pmat=[ x./x./(p.^3)./cpu x.^(3)./(p.^3)./cpu ];
cmat=[ x./x./(p.^0.5)./log(bw) x.^(3)./(p.^0.5)./log(bw) ];
A=[ pmat cmat ];
x=5000;
p=24;
cpu=0.261183;
bw=200.257141;
pmat=[ x./x./(p.^3)./cpu x.^(3)./(p.^3)./cpu ];
cmat=[ x./x./(p.^0.5)./log(bw) x.^(3)./(p.^0.5)./log(bw) ];
fid = fopen('/home/sanjay/scheduler_simulator/mydata.txt', 'w');
test_model.m; //here i ma calling another script (this is line no 17)
fclose(fid);
thanx
Waiting for your reply
Regards
Sanjay
Love Games? Gamesville is Waiting for You...
Free Online Games, Fat Cash $ Prizes
Plus Bingo, Solitaire, Poker & Much More!
http://www.gamesville.com
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
Octave startup message
,
Sanjay H A
<=
Prev by Date:
Re: Octave Forge (2.1.73) under Windows XP Can't load packages
Next by Date:
print with subplot (multiplot)
Previous by thread:
print with subplot (multiplot)
Next by thread:
octave_config -p [EXEC_]PREFIX
Index(es):
Date
Thread