Regular API function

simStopSimulation (remote API equivalent: simxStopSimulation)

Description Requests a stop of the running simulation. See also simStartSimulation, simPauseSimulation and simGetSimulationState. See also the simulation state diagram.
C synopsis simInt simStopSimulation()
C parameters
None
C return value
-1 in case of an error, 0 if the operation could not be performed. >0 in case of success.
Lua synopsis number result=simStopSimulation()
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page