Hi,

I would like to read the remaining energy (variable name isĀ  energy_
in the file ns2/mobile/energy-model.cc {its a type double}".

I do not know the command in TCL to do so.

Can someone please help me with the command to read that variable
directly from the tcl script. I want to control my data generation
depending upon the remaining energy.

Thank you.

-Ravit

Reply via email to