[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to delete or disable an Object?
Since you have this loss_module, you can say:
$ns at 3.0 "$loss_module set enable_ 0"
to disable the losses. If you want to turn it back on, set enable_ to 1.
Please refer to errmodel.cc.
- Haobo
On Thu, 3 Sep 1998, Cheng Liang wrote:
> Hi all,
> A simple question.
> I inserted an Object of lossmodel in a link:
> $ns at 1.5 "$ns lossmodel $loss_module $n(2) $n(3)"
> If I would like to delete this object or disable this object at 3.0, how
> should I do? Something like this?? :
> $ns at 3.0 "......."
> Thank you very much in advance.
>
> Cheng Liang
>
>
>