sldebug and algebraic loops

1 次查看(过去 30 天)
Stefan
Stefan 2014-8-25
评论: Stefan 2014-8-25
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 个评论
José-Luis
José-Luis 2014-8-25
Please post your error message and the offending code.
Stefan
Stefan 2014-8-25
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Chemistry 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by