Borrar filtros
Borrar filtros

Matlab/Simulink - manual switch

5 visualizaciones (últimos 30 días)
Robin Beene
Robin Beene el 2 de Abr. de 2013
Hey! I would like to know is it possible to manually turn on the switch in simulink but only let's say after some amount of time. For example my simulation takes 180 sec, and my switch is off in start, but I want to be able to turn it on after 10 sec. So if I try turn it on between 0<t<10 nothing should happen.
  1 comentario
Walter Roberson
Walter Roberson el 2 de Abr. de 2013
10 seconds clock time, or 10 seconds of simulation time ?

Iniciar sesión para comentar.

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 2 de Abr. de 2013
You should use this
  2 comentarios
Robin Beene
Robin Beene el 2 de Abr. de 2013
good, I tried it, but I managed only to bring some output variable to the control input, but I don't know how to bring "time" to the control input of this switch. My time is stored in variable tout. I need to bring tout to the control input, but I don't know how.
Azzi Abdelmalek
Azzi Abdelmalek el 2 de Abr. de 2013
Use a clock block From Simulink/sources

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by