简体   繁体   中英

How to control the OMNeT++ Simulation using Python script / Python code

I want to control the simulation process like run-pause-resume-restart(mainly) , import data, export data etc. just using the python script. Is it possible? If it is possible then please give some direction or resources to proceed.

I am just starting in this field.

Exporting/importing result data is available in OMNeT++ 6.0. Take a look at the samples/results folder for examples and the Manual's Result Recording and Analysis chapter.

Additional python integration (like writing behavior in Python or controlling the simulation) is planned for the upcoming 7.0 version. You may try the current master branch from the o.netpp github repo. The functionality was already merged into the master branch.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM