sldebug and algebraic loops

3 views (last 30 days)
Stefan
Stefan on 25 Aug 2014
Commented: Stefan on 25 Aug 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 Comments
José-Luis
José-Luis on 25 Aug 2014
Please post your error message and the offending code.
Stefan
Stefan on 25 Aug 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.

Sign in to comment.

Answers (0)

Categories

Find more on Chemistry 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!