Hello,
I want to run a script on the command line and get the output of the script back to flexsim. I want to run python script and get the suggestion of ML algorithm in to the simulation.
Example C++ code.
std::string filename = "/home/abc/xyz/Learning.py"; std::string command = "python "; command += filename; system(command.c_str());
I want to get the output of the script and use that in simulation.
Can anyone suggest the command like system which will be used to run the script on cmd line.