Time based function simulink....

I need to make a time based function in Simulink with values between 0 and 1 for 1 day in 10min steps.... Anybody having an idea please help....

 채택된 답변

ES
ES 2013년 9월 23일

0 개 추천

stateflow will be ideal. But you should have stateflow licence (different from simulink licence) to use it. Otherwise construct a counter (you will have lots of samples), and then by comparing counter value to a thereshold, you can create output value.

추가 답변 (2개)

ES
ES 2013년 9월 23일

0 개 추천

Are your output values discrete? I mean 1 and 0 only? In this case you can use a stateflow with two states 'on' and 'off' and a counter to move between the two states.
If your values are boundaries of continuous values, use a float output as a function (denominator factor) of the counter.

댓글 수: 1

Smith Steven
Smith Steven 2013년 9월 23일
The values are boundaries of continuous values,,, which function block shall i use??

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

Smith Steven
Smith Steven 2013년 9월 23일

0 개 추천

Thank you.....

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

태그

질문:

2013년 9월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by