Algebraic loop error while using flip-flops
Afficher commentaires plus anciens

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 commentaires
Walter Roberson
le 6 Avr 2019
Are you configured as continuous time or as discrete time?
Yakov M
le 7 Avr 2019
Walter Roberson
le 7 Avr 2019
Simulink thinks that part of it is configured for continuous time.
Walter Roberson
le 7 Avr 2019
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.
Réponses (1)
Yakov M
le 7 Avr 2019
0 votes
Catégories
En savoir plus sur General Applications dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
