ASalam alikom
I have error when I write this program
set ns [new Simulator]
set nf [open out.nam w]
$ns namtrace-all $nf
proc finish {} {
global ns nf
$ns flush-trace
close $nf
exec nam out.nam &
exit 0
}
set n0 [$ns node]
set n1 [$ns node]
$ns duplex-link $n0 $n1 1Mb 10ms DropTail
$ns at 5.0 "finish"
$ns run
When I run this program
It give me this error
Ns:finish:couldn't execute "nam":
No such file or directory
While executing
"exec nam out.nam &"
(procedure "finish" line5)
Invoked from within
"finish"
can you help me to solve this error?
gazak allah khiran
between 0000-00-00 and 9999-99-99