Search code examples
windowsomnet++

Running omnet++ simulations from windows command line


I want to run an OMNeT++ simulation from the Windows Command Line instead of from the command line interface provided in OMNeT itself. Is it possible to run simulations this way? I tried adding the environment variables to the path following the instructions given on omnet++ installation guide as well but it still doesn't work. Any help/hint regarding this would be much appreciated.


Solution

  • Technically, yes. At a minimum, you have to add the omnetpp/bin and tools/win64/mingw64/bin to the system path. (with omnet 5.6.2)

    Obviously, without you providing what environment variable you set and what was the error, it is not possible to say anything about the actual error.