How to design up counter using Stateflow and hold it for some interval and decrement it to zero?

조회 수: 24 (최근 30일)
I want to design a counter which will increment up to 10 and hold it for 3sec and decrements it to zero using stateflow.

채택된 답변

GK
GK 2018년 9월 4일
Hi, you can design it as mentioned in screenshot.
Please check simulating it.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Additional Math and Discrete에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by