How to detect a especific time on Simulink when a condition is true?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Israel Vargas
el 13 de En. de 2019
Comentada: Israel Vargas
el 15 de En. de 2019
I'm finding a way to detect, save and later use of an especific time if a condition is true while simulink is running. I'm using clock time signal and a voltage measurement signal.
The idea is: If voltage measurement is greater or equal to a threshold then save that exact time or have available that value on Simulink to later use.
Thanks alot.
0 comentarios
Respuesta aceptada
MEHABOOBSUBANI GULEDKOPP
el 13 de En. de 2019
Hi,
Simulation Results will be stored in variable yout from which you can extract the time at which your conidition has become true. You can also make use Simulink Data Inspector feature to view the Simulation Results in the form of graph.
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!