knowledge-database (beta)

Current group: comp.soft-sys.ptolemy

RE: Expression block question

RE: Expression block question  
Andrew D. Dixon
From:Andrew D. Dixon
Subject:RE: Expression block question
Date:Sat, 11 Dec 2004 13:00:11 -0600
> I've got a model that I'm trying to debug and I've realized
> that I get into trouble when I use the expression block.
> Specifically I've got one expression block with two inputs
> (x2 and x8) and inside the block the
> expression:
>
> .1*(x8/(0.1+x8))-x2

I figured it out. Ptolemy works exactly like I expected. I, on the
other hand, still have a few bugs left in me. The above expression
should be:

.1*(x8/(0.1+x8)-x2)

Then everything's fine.

Later,
Andrew


----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: ptolemy-hackers-request@ptolemy.eecs.berkeley.edu
   

Copyright © 2006 knowledge-database   -   All rights reserved