Regular API
function
simStartSimulation / sim.startSimulation
Description
Requests a start of a simulation (or a resume of a paused simulation). See also
sim.pauseSimulation
,
sim.stopSimulation
and
sim.getSimulationState
. See also the
simulation state diagram
.
C synopsis
simInt simStartSimulation()
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=sim.startSimulation()
Lua parameters
Same as C-function
Lua return values
Same as C-function
Remote API equiv.
B0-based remote API:
simxStartSimulation
Legacy remote API:
simxStartSimulation
All regular API functions on one page