필터 지우기
필터 지우기

Matlab/Simulink - manual switch

조회 수: 5 (최근 30일)
Robin Beene
Robin Beene 2013년 4월 2일
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
Walter Roberson
Walter Roberson 2013년 4월 2일
10 seconds clock time, or 10 seconds of simulation time ?

댓글을 달려면 로그인하십시오.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 4월 2일
You should use this
  댓글 수: 2
Robin Beene
Robin Beene 2013년 4월 2일
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 2013년 4월 2일
Use a clock block From Simulink/sources

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by