필터 지우기
필터 지우기

How to overcome the loop problem in 'if-else' action subsystem

조회 수: 4 (최근 30일)
Akash Kalghatgi
Akash Kalghatgi 2016년 11월 4일
댓글: Swarooph 2016년 11월 4일
Hello everyone, I am new to Simulink and have realized that constructing a logic using blocks isn't similar to writing a program. The problem that I am facing is very well defined in the snapshot attached to this question. Inside a program we use variables to store the computed data but I couldn't find a Simulink block for the same which is why I simply connected it in a way shown in the snapshot. Please help me get through this problem. Thanks, Akash.
  댓글 수: 1
Swarooph
Swarooph 2016년 11월 4일
Explain what it is that you are trying to do using pseudo code or algorithm. I have a feeling you can implement this way easier using a Switch block or some block from the Logic and Bit Operations library instead of If-else subsystems which are meant for other advanced use cases.

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

답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by