[ns] starting ns2 simulator

Matthias Budde matthi.budde at web.de
Sat Nov 11 04:07:11 PST 2006


Hi,

If you have set your $PATH correctly, you can put your script wherever 
you want to. You start ns with the command 

'ns <tclscript>' 

(assuming that you are in the directory with the ns executable, or that 
your path points to that directory), where '<tclscript>' is the name of 
a Tcl script file which defines the simulation scenario.

See also:

http://www.isi.edu/nsnam/ns/tutorial/

Best,

-Matt

Am Samstag, 11. November 2006 02:00 schrieb ns-users-request at isi.edu:
> ------------------------------
> 
> Message: 5
> Date: Fri, 10 Nov 2006 05:12:23 -0800 (PST)
> From: milica marik <maric_milica at yahoo.com>
> Subject: [ns]  starting ns2 simulator
> To: ns-users at ISI.EDU
> Message-ID: <20061110131223.109.qmail at web31314.mail.mud.yahoo.com>
> Content-Type: text/plain; charset=ascii
> 
> hello ns users
> 
> i'm milica maric and i'm an ns2 simulator beginner.
> 
> i've read some sample scripts and it's ok i understand their purpose and all.
> 
> but i have a problem of understanding this: if i write my own script, where should i put it(in which
> directory) or in means how do i start the ns2 simulation on that script
> 
> i thin that you all know that, so if anyone can tell me that
> 
> thanks
> 
> p.s. i' ve installed ns-2.26



More information about the Ns-users mailing list