Simulink: How to add an Input Port to Timer

1 Ansicht (letzte 30 Tage)
qiumei
qiumei am 9 Okt. 2012
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 Kommentare
qiumei
qiumei am 12 Okt. 2012
I am using a SimPower Systems "Timer"
Muruganandham Subramanian
Muruganandham Subramanian am 17 Okt. 2012
Hi, Why do u need to insert inputport to timer block?

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Azzi Abdelmalek
Azzi Abdelmalek am 12 Okt. 2012
Bearbeitet: Azzi Abdelmalek am 12 Okt. 2012
  • 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 am 9 Okt. 2012
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!!!

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by