Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Level 2 M-File S-Function Block inside algebraic loops
Replies: 1   Last Post: May 20, 2008 9:43 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Anna Mueller

Posts: 2
Registered: 5/20/08
Level 2 M-File S-Function Block inside algebraic loops
Posted: May 20, 2008 9:13 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,

for testing purpose I have created a Level 2 M-File
S-Function Block with two inputs and one output. The output
is simply the addition of the inputs. Further I build an
algebraic loop solving the equation 4+3*x=x. When I used the
sum block for this model everything is fine. But when I use
the described S-Function block instead of the sum block
there?s an error:

"Cannot solve algebraic loop involving 'testloop1/Gain2'
because it consists of blocks that cannot be assigned
algebraic variables, i.e., blocks with discrete-valued
outputs, blocks with non-double or complex outputs,
Stateflow blocks, or nonvirtual subsystems."

Is there a way to use S-Function in algebraic loops?

I tried the directfeedthrough=yes option but it didn?t helped.

Thanks

Malte





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.