Is there a variable of time in the Driving Scenario Designer app?

2 Ansichten (letzte 30 Tage)
Bo Lin
Bo Lin am 5 Nov. 2019
Kommentiert: Tanvir ALLIDINA am 12 Jul. 2021
Hi,
In the Driving Scenario Designer app,I want to set the speed of the vehicle as a function of time instead of constant speed, but I can't find the variable you set for the time in the app.For example,speed can be written as speed=3*T,where T is the travel time of the vehicle.So,how to represent the travel time T in the app?
Thank you,
Lin Bo

Antworten (1)

Gouri Chennuru
Gouri Chennuru am 6 Mär. 2020
In my understanding from the question, it is required to change the speed with respect to the time, but the functionality is currently not supported in MATLAB R2019b. A workaround for doing the same could be exporting the code to MATLAB and changing the speeds with respect to the simulation time.
Hope this helps!

Produkte


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by