cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Reading array/matrix from Mathcad

tselvan
4-Participant

Reading array/matrix from Mathcad

Hi All,

Is it possible to read an array or matrix
from mathcad worksheet through VB code and assign to a VB array.

I am able to successfully to read the single value using GetValue function.

Any suggestions?

Sample code would be greatly appreciated.

Thanks,
T.selvan
5 REPLIES 5

Getvalue will get an array value just as easily as a scalar value.
__________________
� � � � Tom Gutman
RichardJ
19-Tanzanite
(To:TomGutman)

On 4/22/2009 7:51:31 PM, Tom_Gutman wrote:
>Getvalue will get an array
>value just as easily as a
>scalar value.

Yes, but in several versions of Mathcad there's a bug that prevents GetElement from working, making the array useless.

Richard
RichardJ
19-Tanzanite
(To:tselvan)

See this (long) thread.

http://collab.mathsoft.com/read?108388,11e#108388

Note the reference to another thread that describes a bug in version 13 (which existed in version 12 as well, and I think also version 11).

Richard
Pitot
1-Newbie
(To:RichardJ)

How about version 14, when I tried it returns "matrix(1,1)"

Pete

MikeArmstrong
5-Regular Member
(To:Pitot)

Can you upload a worksheet?

Mike

Top Tags