Skip to main content
1-Visitor
August 8, 2013
Solved

Unknown Error: mpl%_exception - What does this mean?

  • August 8, 2013
  • 5 replies
  • 7978 views

Hello,

I have converted a MathCAD file from an older version of MathCAD (where it worked beautifully) to Prime 2.0. In the process of converting the primary program that calls multiple sub-programs stopped working. I thought I had successfully fixed all of the errors, but now the whole program is outlined in red and MathCAD indicates that there is an error "Unknown Error: mpl%_exception". Does anyone know what this means and how I can fix it? It seems as if other errors are the result of large programs running in MathCAD. Is that the case here?

Input appreciated,

Amanda

Best answer by RichardJ

Sorry. After experimenting I edited my reply, which might have led to confusion. Replace the row vector with a large number of variabe names on the left of the assignment operator with a single variable name. It doesn't matter what the variable name is. I used "xxx" only because it wouldn't conflict with any existing variable names in the worksheet.

5 replies

24-Ruby IV
August 8, 2013

Can you send worksheets?

1-Visitor
August 8, 2013

Unfortunately I cannot post the worksheets.

25-Diamond I
August 8, 2013

Amanda Rock wrote:

Unfortunately I cannot post the worksheets.

So w/o the sheet I think that no help is to be expected here. I had that unknown multiplication error, too, but don't remember what the cause was and how I fixed it. Guess there are a myriad of possibilities.

As its an unknown error its a sign how unfinioshed Prime still is. That kind of errors should not pop up, so I would call it a bug and think you should report it to PTC. The will need the sheet, too, but if you log a case there is the possibility for a non-disclosure agreement.

1-Visitor
August 9, 2013

Did you try and copy the contents of the converted sheet onto a new sheet? I have had certain features not work when first converting the worksheet but pasting the contents on a new worksheet was successful.

I hope this helps.

1-Visitor
August 9, 2013

Norm,

No luck with the copy/paste. Thanks for the suggestion.

Thanks everybody for the input. It looks like I may just be sticking with M15. Everything seems to function appropriately there.

1-Visitor
August 9, 2013

Ok. Attached is the file in question. The program I'm having trouble with is the Morphologic Time Loop (page 27), which calls all of the previous functions. There was a problem with the Evolve sub-program (pg. 24), which I know about because the Morphologic Time Loop would run until I fixed the error (undefined variable sdiv). No it won't run at all. Let me know what you think.

19-Tanzanite
August 9, 2013

If you put an arbitrary variable name to the left of the assignment (I used "xxx") so that it only has one variable name the error message goes away. There's still an error, but it's an error about incompatible units. Maybe the large number of variable names is the problem, or maybe it's one particular one that's the problem.

1-Visitor
August 9, 2013

I'm not sure I understand what you are explaining. Are you saying to replace the entire bottom row with just "xxx"? When I do that I get an undefined variable error. When I leave only 1 of the actual defined variables as the bottom line I get the same mpl_exception error.

1-Visitor
August 12, 2013

I think I've got it all figured out. Everything is working (finally!) thanks to that work-around with the Morphologic Time Loop output workaround. Thanks for the help everyone!

16-Pearl
November 3, 2016

I just had this problem also and it seemed to result because I had selected Multithreading and/or Approximate Equality under Calculation Options (Prime 3.1).  Once unselected everything returned to normal functionality.