Ambiguous sorted order detected due to use of triggered subsystem(s) in a loop. See Subsystem Examples in the Simulink library for valid and invalid examples of triggered subsystem
67 views (last 30 days)
Show older comments
respected sir
whenever i run matlab simulink the error shows Ambiguous sorted order detected due to use of triggered subsystem(s) in a loop. See Subsystem Examples in the Simulink library for valid and invalid examples of triggered subsystem please help me how to slove
0 Comments
Answers (1)
Remi
on 8 Mar 2016
I've experienced the same issue because the trigger signal depended on the output of the subsystem. If this was your problem, this can be solved by adding an unit delay to your output.
You can also refer to this thread http://www.mathworks.com/matlabcentral/answers/55428-how-can-i-use-a-triggered-subsystem-in-a-loop?s_tid=answers_rc1
1 Comment
Ali
on 23 Jun 2017
well I had the same error but in my case the output was dependent on the input, added a unit delay in the loop and everything fixed, thanks a lot :)
See Also
Categories
Find more on Ports and Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!