Simulink error due to use of triggered subsystem(s) and/or Model blocks in a loop.
2 views (last 30 days)
Show older comments
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 Comment
Abdalrahman Haimour
on 12 Jul 2020
Hi,
I faced the same error, so can you help me to solve it if you have already found the solution?
Thanks
Answers (0)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!