Filter löschen
Filter löschen

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

4 Ansichten (letzte 30 Tage)
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

Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by