Simulink: How to add an Input Port to Timer

Dear All,
How can add an Input Port to Timer, cos currently it only has Output Port.
How do I change the setting to allow an additional Input port to it?
Thanks and best regards, qiumei

3 comentarios

Azzi Abdelmalek
Azzi Abdelmalek el 9 de Oct. de 2012
Which timer are you using, (which toolbox ?)
qiumei
qiumei el 12 de Oct. de 2012
I am using a SimPower Systems "Timer"
Hi, Why do u need to insert inputport to timer block?

Iniciar sesión para comentar.

Respuestas (2)

Azzi Abdelmalek
Azzi Abdelmalek el 12 de Oct. de 2012
Editada: Azzi Abdelmalek el 12 de Oct. de 2012

1 voto

  • right click on your timer block
  • click on disable link
  • click on look under mask
  • remove a clock block and replace it with input block from simulink/sources
Sachin Ganjare
Sachin Ganjare el 9 de Oct. de 2012

0 votos

You can remove clock block inside & can connect inport for providing 'time step' from outside.
Also you can put whole logic in enabled subsystem to have timer enable inport.
Hope it helps!!!

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 9 de Oct. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by