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

2 次查看(过去 30 天)
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

回答(1 个)

Gouri Chennuru
Gouri Chennuru 2020-3-6
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!

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by