Log the time in Simulink

2 views (last 30 days)
mr.zengin
mr.zengin on 20 May 2023
Commented: mr.zengin on 23 May 2023
Hey guys!
i have a CarMaker simulation, within i want to log the time during an event started and stopped by setting requirements. Is there a possibility to start and stop a timer? Or to safe the simulation time at the moment of the start of requirement and the ending. Furthermore, i want to log the time between the sensor detecting an object and not, so the car should detect a parking lot.
Thanks!
  2 Comments
Dongyue
Dongyue on 23 May 2023
Unfortunately, CarMaker does not have a timer feature built-in. However, you can use the logging functions to record the simulation time at the beginning and end of the requirement. Additionally, you can use the sensors to detect the parking lot and log the time between the sensor detecting an object
Since CarMaker is a third-party product, I will recommend you to contact the development team for CarMaker directly for more information.
mr.zengin
mr.zengin on 23 May 2023
Hello Dongyue,
do you have an idea of how i can log the time between the sensor detecting an object? And can you please tell me more about the logging function you mentioned?
Thanks in regard, mrzengin

Sign in to comment.

Answers (0)

Categories

Find more on Event Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!