我已经工作了几个星期来运行这个tcl脚本(不是我写的)dsrc,但我从来没有成功。请我需要你的帮助。错误是: invalid command name "10"
while executing
"$val(payload)"
invoked from within
"set payload [$val(payload)]"
(file "singleBroadca
我已经安装了NS-2.35在我的Ubuntu 12.10 我安装成功信息如下: Ns-allinone package has been installed successfully.
Here are the installation places:
tcl8.5.10: /opt/ns2/ns-allinone-2.35/{bin,include,lib}
tk8.5.10: /opt
在编写ns2仿真时,我预计Graph proc中的变量nummsg对于文件的每个输出都会发生变化。但它仍然是18。我不明白为什么incr函数不起作用。任何帮助表示赞赏。 #Create scheduler
#Create an event scheduler wit multicast turned on
set ns [new Simulator -multicast on]
$ns mu