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

5 views (last 30 days)
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

Answers (1)

Gouri Chennuru
Gouri Chennuru on 6 Mar 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!

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!