[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Running multiple simulations with a single tcl script
On Tue, 14 Aug 2001, Brian Lee Bowers wrote:
> On Tuesday 14 August 2001 14:28, Giuseppe Tringali wrote:
> > Hi ns user,
> >
> > I'd like to run several simulations changing only a parameter (for
> > example the length of the simulation or the delay of link).
> >
> > My question is this: is it possible with a single tcl script? An if
> > so, could you give me a basic example of the script?
> >
> > I have seen in previous messages that expert user of NS use both
> > perl script and shell script. But this solution is quite difficult
> > for me.
>
> Yes, it is possible. Here is some basic code that uses command-line
> arguments. You get different runs by passing in arguments.
Read the thread starting
http://www.isi.edu/nsnam/archive/ns-users/webarch/1998/msg01494.html
L.
<L.Wood@surrey.ac.uk>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>