Skip to main content
8-Gravel
January 22, 2024
Solved

Setting File Path in Mathcad Prime 9.0

  • January 22, 2024
  • 1 reply
  • 2134 views

I am doing some image processing in Mathcad Prime 9.0 and the path to the image files is so long that it runs off the right side of the screen. I see a discussion from 2011 for setting a path in older versions of Mathcad (15?) but I cannot seem to find that option in Prime 9.0.

 

Well, as you may see from my other message, I switched to MC 15, but has the same path issue until I learned that I could use character strings as variables.   So, now have two path variables and a third string name set to the file name, and I concatenate all three with "concat" in the following manner:

 

Array := READBMP(concat(Path1,Path2,Image_78_7)) 

 

 

 

Best answer by Werner_E

I don't believe that @vroberts  has any questions on this anymore.

He was just trying to share with the community his solution for a problem he had in the past, I guess.

1 reply

Community Moderator
January 29, 2024

Hi vroberts,


Thank you for your question. 
I’d like to recommend to bring more details and context to your initial inquiry

It also helps to have screenshot(s) to better understand what you are trying to do in your process. 

This will increase your chances to receive meaningful help from other Community members. 

Regards,

Community moderation Team.

Werner_E25-Diamond IAnswer
25-Diamond I
January 29, 2024

I don't believe that @vroberts  has any questions on this anymore.

He was just trying to share with the community his solution for a problem he had in the past, I guess.

vroberts8-GravelAuthor
8-Gravel
January 29, 2024

Werner_E, 

 

I also discovered in this exercise that READBMP in MC15 is 10 to 100 times faster than in Prime 9.0 and can handle much larger image sizes. How is it possible that we are up to the 9th revision of Prime and MC15 is still the best solution?