×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Inconsistent Re-Calc

Inconsistent Re-Calc

Inconsistent Re-Calc

(OP)
I'm working in MathCad 14 and have found that once a workbook gets more than a few dozen equations, some of them will not refresh with a change in an input variable.

If I change an equation, the answer shows up recalculated as soon as I hit enter, but for complex sheets I find that most of the time the equations don't recalculate and I have to step through them one at a time hitting F9.

Any ideas on a parameter that might be controlling this?

Before anyone asks: yes, I do have automatic calculation turned on.

David

RE: Inconsistent Re-Calc

(OP)
Sometimes, but I was working on one (doing a sort of goal seak with 50 intermediate steps) where I just put the boudaries of an "area" over the intermediate steps and could change a number and see that the answer didn't change.  I'd go to the bottom of the screen and hit F9 to get it to update.  When I un-hid the area I saw that a bunch of equations had recalculated, but a bunch hadn't.

David

RE: Inconsistent Re-Calc

I have noticed this with Ver. 13 as well.  I don't have a solution.

RE: Inconsistent Re-Calc

There's a bug with inline evaluation, if you have statements such as the following:

a:=2
b:=3
c:=a+b=

The displayed value of c will not change if you change the value of a or b (the stored value does change, so future calcs using c are correct).  One way around it is not to use inline evaluation, the other is to use ctrl-F9 to recalculate the entire worksheet.

Peter
 

RE: Inconsistent Re-Calc

(OP)
pstucky,
That is exactly what I'm doing.  And come to think of it, on the intermediate calcs that I talked about above it is a mix of inline calcs/display and just display so it makes sense that the inline ones would not show a re-calc but the others would.

Thanks

David

RE: Inconsistent Re-Calc

if you want recalculate you must display each value in an other comand
you can send a exemple who you consider it doesnt work
and i will help

RE: Inconsistent Re-Calc

(OP)
Pstuckey's solution works perfectly


z=a+b=5

will not display a new value if I change a or b

z=a=b
z=5

will display a new value everytime I change a or b.

David

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources