Skip to main content
1-Visitor
Question

Calculating with breakpoints

Hello everyone!

I'm not an experienced user of either Mathcad or this forum, so I apologize if this question is in the wrong place.

Sometimes it's needed to calculate the worksheet with attention to certain breakpoints - for example, some values may need manual adjustments.

Is it possible to make Mathcad stop calculation upon reaching such breakpoints and give user some kind of prompt?

In other words, do not return the final result until all attention points are attended.

I hope I was able to explain this clearly!

18 replies

1-Visitor

I am sure this can be done but will depend on the problem. Could you provide an example worksheet?

Translate
1-Visitor

Here's the example. It is completely made-up, of course, but illustrates the problem precisely.

screen.png

Translate
23-Emerald V

Maxim Semenenko wrote:

Here's the example. It is completely made-up, of course, but illustrates the problem precisely.

Do you always require the user to enter a new value or is there some criteria that determines whether you ask for a new value?

Stuart

Translate
23-Emerald V

As Mike says, an example of the kind of problem you mean would be helpful.  However, there isn't a general facility for user input into a calculation (such as a pop-up dialog box)

Stuart

Translate
24-Ruby IV

Mathcad 15 or Prime?

Translate
1-Visitor

Mathcad 14

Translate
19-Tanzanite

If you are using Mathcad 15 you can use a scripted control. There's an example here: https://community.ptc.com/t5/PTC-Mathcad/Extra-Components-and-Controls/td-p/450450

 

 

If you are using Mathcad prime, there's no way to do what you want.

Translate
1-Visitor

I'm using Mathcad 14. Is it possible in that version?

Translate
19-Tanzanite
1-Visitor

I use red text to notate math areas that require user input.  Until the user manually enters a value, subsequent calculations will indicate an "undefined" error.

When a user opens the calculation template, he/she scrolls through the calculations entering data where notated in red until he/she reached the bottom.

Undefined:

Undefined.JPG

Defined:

Defined.JPG

Translate