How do I solve/avoid this error?
3 views (last 30 days)
Show older comments
Hello.I am Brandon.
I am building a model of a quadrotor in Simulink for my research.As I proceed to perform the simulation, I obtain the error message below:
"Error using main_quadrotor (line 21) Cannot solve algebraic loop involving 'Quadrotor_numerical/Derivative4' because it consists of blocks that cannot be assigned algebraic variables, such as blocks with discrete-valued outputs, blocks with non-double or complex outputs, Stateflow blocks, or nonvirtual subsystems. Consider breaking the algebraic loop. For example, add a delay or a memory block to the loop."
Is there any way for me to avoid this error at all?As adding memory block in the model always cause me numerical problem like singularity and so on.
Please do guide me on this and thanks.
0 Comments
Answers (2)
See Also
Categories
Find more on General Applications 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!