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

조회 수: 6 (최근 30일)
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
Abdalrahman Haimour
Abdalrahman Haimour 2020년 7월 12일
Hi,
I faced the same error, so can you help me to solve it if you have already found the solution?
Thanks

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by