--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/3bc5mXaln_I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.
The nodes are created only at the beginning of the simulation, it can’t be change later.
There is an alternative that allow to create nodes dynamically in inetmanet, but you can suffer problems with the destination sources,
src/mobility/single/LaptopModelManager.ned
This model allows to create and delete the nodes dynamically in the simulations, it can be used for your purposes.
De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de tas Tk
Enviado el: jueves, 30 de julio de 2015 8:50
Para: OMNeT++ Users <omn...@googlegroups.com>
CC: dhan...@gmail.com
Asunto: [Omnetpp-l] Re: Change the configuration on the fly
Hi everyone,
I use inetmanet and i have a variable
volatile double numHosts;
In omnetpp.ini i use **.numHosts = simTime() < 30s ? 11 : 15
but nothing happens, it doesn't add 4 more nodes in the simulation after 30 sec
can anyone help??Am i doing something wrong?
Thank you
--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.