Algebraic loop error while using flip-flops

For following model I recieve an error
Cannot solve algebraic loop involving 'boo/Subsystem/Bistable6/Model/RESET Priority' because it consists of blocks that cannot be assigned algebraic variables, such as blocks with discrete-valued outputs, blocks with non-double or complex outputs, Stateflow blocks, or nonvirtual subsystems. Consider breaking the algebraic loop. For example, add a delay or a memory block to the loop.
I tried to add delays 1/Z as suggested but I didn't helped me much(bistable is a SR-FF)

댓글 수: 5

Are you configured as continuous time or as discrete time?
Yakov M
Yakov M 2019년 4월 7일
Its a discrete time
Yakov M
Yakov M 2019년 4월 7일
편집: Yakov M 2019년 4월 7일
So what is the solution? Should I add a delay or memory block and if yes where it should go?
As you are using discrete time, then add a Unit Delay on the Q output -- before it goes to the scope or to the GOTO.

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

답변 (1개)

Yakov M
Yakov M 2019년 4월 7일

0 개 추천

The solution was to add a memory block so now I don't recieve anyerror.
Could someone explain if I had used 1/z delay it would be better?Capture.PNG

카테고리

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

제품

태그

질문:

2019년 4월 6일

답변:

2019년 4월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by