Simulink: How to add an Input Port to Timer
Show older comments
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 Comments
Azzi Abdelmalek
on 9 Oct 2012
Which timer are you using, (which toolbox ?)
qiumei
on 12 Oct 2012
Muruganandham Subramanian
on 17 Oct 2012
Hi, Why do u need to insert inputport to timer block?
Answers (2)
Azzi Abdelmalek
on 12 Oct 2012
Edited: Azzi Abdelmalek
on 12 Oct 2012
1 vote
- 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
on 9 Oct 2012
0 votes
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!!!
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!