sldebug and algebraic loops

1 visualización (últimos 30 días)
Stefan
Stefan el 25 de Ag. de 2014
Comentada: Stefan el 25 de Ag. de 2014
Hello,
I have a model that contains an algebraic loop. I understand this concept and I'm just trying to visualize where the loop is located within my model.
In order to run the ashow command, I need to launch sldebug. So I launch my model, run my configuration and setup scripts (the model has configurable subsystems that need to be properly selected and variables that need to be properly inserted into the workspace prior to execution) and then I type sldebug with my model name as an argument at the command terminal.
Sldebug, however, will not launch and indicates that the source of the problem is "multiple causes". The error message then goes on to say the following:
"Caused by: Cannot solve algebraic loop involving [model name] because it consists of blocks that cannot be algebraic variables ...
This warning isn't particularly helpful as it identifies the reason I'm actually attempting to use sldebug.
Any recommendations on how to get sldebug to launch would be most helpful (I suspect that sldebug should be more resilient to algebraic errors as it is intended as a tool for identifying these loops).
As a note - I'm using Matlab 2013b.
  2 comentarios
José-Luis
José-Luis el 25 de Ag. de 2014
Please post your error message and the offending code.
Stefan
Stefan el 25 de Ag. de 2014
there is no "offending code" - it's a simulink model that has an algebraic loop (which isn't the problem). The issue at hand is that the algebraic loop is causing the sldebug routine from being able to open he model.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Chemistry 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!

Translated by