how can I keep track of last n sec of data at each time step in Simulink model itself?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sowmya Payyavula
el 15 de Dic. de 2023
Comentada: Sowmya Payyavula
el 3 de En. de 2024
Hello, I am implimenting some strategy in simulink model and for this at each time step I need to look back last 3 sec data and compare it with the current time step data. I am not able to find any block which can store the last n sec data in simulink model. I have tried memory block but it only stores one time step value. The data store block stores all the time steps data. is there a way i can access only some simulation time data at each time step?
0 comentarios
Respuesta aceptada
Sam Chak
el 15 de Dic. de 2023
You can test out this Tapped Delay block. It can store data for the specified number of delay steps.
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!