Access and modify runtime specifications of actor
ActorSimulation object represents an actor in a scenario
simulation. Use an
ActorSimulation object to:
Access and modify the runtime attributes of an actor.
Access the actions of an actor in the current simulation time step.
Get Actors of Scenario Simulation
rrApp = roadrunner("C:\RoadRunnerProject"); openScenario(rrApp,"TrajectoryCutIn"); Sim = createSimulation(rrApp);
Start the simulation.
Get all actors while the simulation runs.
actorSim = get(Sim,"ActorSimulation");
Get the first actor only.
actorOne = actorSim(1);
Introduced in R2022a