Effacer les filtres
Effacer les filtres

Simulink error due to use of triggered subsystem(s) and/or Model blocks in a loop.

4 vues (au cours des 30 derniers jours)
Hi,
I have built simulink model for simulating program using stateflow. The inputs are from PV array model which I chose option to break algebraic loop in internal model.
When I tried run the program it shows error
Ambiguous sorted order detected due to use of triggered subsystem(s) and/or Model blocks in a loop. See Subsystem Examples in the Simulink library for valid and invalid examples of triggered subsystems
Input port(s), 1, 2, 7, of triggered Stateflow chart 'Global_SlopeDetect_2panels_kyocera_2016b_longterm/GlobalMppt_SlopeDetect/Chart1' are involved in a loop. You can use a Memory block to remove loops involving Triggered Stateflow charts
The block connected to the chart shows the same error.I don't understand what does the terms loop means here. It suggested me to use memory block but I don't know how to use it. After this, I would like to upload my code to microcontroller (if the algebraic loop still exists, it could not be uploaded)
Any suggestion? Thank you
  1 commentaire
Abdalrahman Haimour
Abdalrahman Haimour le 12 Juil 2020
Hi,
I faced the same error, so can you help me to solve it if you have already found the solution?
Thanks

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by