MATLAB Answers

qiumei

Simulink: How to add an Input Port to Timer

Asked by qiumei
on 9 Oct 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 Comments

Azzi Abdelmalek
on 9 Oct 2012

Which timer are you using, (which toolbox ?)

qiumei
on 12 Oct 2012

I am using a SimPower Systems "Timer"

Hi, Why do u need to insert inputport to timer block?

2 Answers

Answer by Azzi Abdelmalek
on 12 Oct 2012
Edited by Azzi Abdelmalek
on 12 Oct 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

  1 Comment

qiumei
on 14 Oct 2012

Problem solved. Thanks :)


Answer by PG
on 9 Oct 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!!!

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today