[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave script HELP
From: |
Thomas D. Dean |
Subject: |
Re: octave script HELP |
Date: |
Fri, 12 Jun 2015 14:31:07 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 06/12/15 02:38, yasmin wrote:
forgive me if im having hard time understanding its troubling... now i made
an xx.m file (NOT A BASH) and i wrote in it only argv() and from command
line i tried the command u wrote up and i gave it argument 2 and it
printer [1,1] =2
now where do i put my octave commands all of them the M=dlmread.... and so
on ? and how do i write this argument which i got correctly and include it
in my filename?? ("waitingtime"ARGUMENT".txt") ?
This sounds like homework, so I will not work the problem for you.
A suggestion.
Create the file xx.m containing
A=argv();
disp(size(A,1));
disp(typeinfo(A));
for idx=1:size(A,1)
disp(cstrcat("argument number ",num2str(idx)," is ",A{idx,1}));
endfor;
And, try
octave --no-init-file --no-gui /tmp/xx.m arg1 arg2 arg3 arg4 5 6 7 8
Tom Dean
- Re: octave script HELP, (continued)
- 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
- Re: octave script HELP, yasmin, 2015/06/12
- Re: octave script HELP,
Thomas D. Dean <=
octave script help, Yasmin Khattab, 2015/06/11