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:




Am Samstag, 11. November 2006 02:00 schrieb [EMAIL PROTECTED]:
> ------------------------------
> Message: 5
> Date: Fri, 10 Nov 2006 05:12:23 -0800 (PST)
> From: milica marik <[EMAIL PROTECTED]>
> Subject: [ns]  starting ns2 simulator
> To: ns-users@ISI.EDU
> 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

Reply via email to