Simulink error due to use of triggered subsystem(s) and/or Model blocks in a loop.
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jirada Gosumbonggot
el 3 de Abr. de 2018
Comentada: Abdalrahman Haimour
el 12 de Jul. de 2020
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 comentario
Abdalrahman Haimour
el 12 de Jul. de 2020
Hi,
I faced the same error, so can you help me to solve it if you have already found the solution?
Thanks
Respuestas (0)
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!