Borrar filtros
Borrar filtros

Start Stop timer using counter in simulink

78 visualizaciones (últimos 30 días)
spoon
spoon el 10 de En. de 2012
Comentada: Rimsha Zulfiquar el 10 de Mzo. de 2021
Hi
I am in need of a logic to design a start and stop timer when the subsystem is enabled. If it can be done with a counter, how? . . . any other method welcome. .
  1 comentario
Rimsha Zulfiquar
Rimsha Zulfiquar el 10 de Mzo. de 2021
i need single server queuing system block diagram can you help me.

Iniciar sesión para comentar.

Respuestas (4)

C.J. Harris
C.J. Harris el 10 de En. de 2012
Just put an integrator within your enabled sub-system. Feed the integrator with a constant. Your output will then only ramp up when the subsystem is enabled.
Change the value/sign of your constant to control how fast the counter counts up/down.
  1 comentario
Mohammed Masum Siraj Khan
Mohammed Masum Siraj Khan el 29 de Jun. de 2020
Hi C.J. Harris, thank you for your solution, a brilliant idea. It helped me.

Iniciar sesión para comentar.


Ashwin
Ashwin el 30 de Abr. de 2014
Hello C J Harris,
If you can elaborate the solution, may be a screenshot or .mdl file
Thanks

hazakom laksji
hazakom laksji el 2 de Mzo. de 2017
https://www.mathworks.com/matlabcentral/fileexchange/44534-simulink---timer-counter

Leopoldino Ximenes
Leopoldino Ximenes el 23 de Mayo de 2019
Hello
i need this code. Can help me?

Categorías

Más información sobre Large-Scale Modeling 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!

Translated by