Re: [ns] Many simulations with same scripts and differents parameters

2006-10-16 Thread Miguel Sepulcre Ribes
Ok, I'm going to tell you how I exactly do it. You need 2 files: an script file and a .tcl file. In the script file, which is a simple text file with execute access (to run it just type ./script in the linux command line), write something like: # - script -

Re: [ns] Many simulations with same scripts and differents parameters

2006-10-13 Thread Miguel Sepulcre Ribes
You could run a script like: for parameter1 in 0 1 2 3 4 do for parameter2 in 10.0 15.0 do ns myfile.tcl -parameter1 $parameter1 -parameter2 $parameter2 done done Don't forget to add the parameters that you want to be modified in your .tcl file: proc getopt {argc a

[ns] Many simulations with same scripts and differents parameters

2006-10-13 Thread molo badji
Hello, Could someone help me in explaining how to create a script which execute many simulation of a protocol of ad hoc networj with differents mobility and traffic model files. For exemple I have this script and I want to write a TCL script which permits to execute this script many times