communication between VBA and Prime7 SetMatrixValue
Hello,
I can´t figure out by myself the syntax to pass a matrix from excel via SetMatrixValue to Mathcad Prime 7.
I was able to write a single variable with "Call WS.SetRealValue("test", 6, "")" with no Problem but I can´t get it working with a matrix.
The code I use:
Dim MCPath As String
Dim path As String
path = Ordnerpfad(ActiveWorkbook.Path)
MCPath = path & "\Rechenkern\.......
Set MC = CreateObject("MathcadPrime.Application") 'CreateObject("Ptc_MathcadPrime_Automation.Application")
MC.Visible = True
MC.Activate
Set WS = MC.Open(MCPath)
Call WS.SetRealValue("test", 6, "")
Call WS.SetMatrixValue("test2", ?????, "")
The variable "test" and matrix "test2" already exist as inputparameters in Mathcad, I simply want to change the value of the matrix like I did with "test". I hope somebody can help me with my problem.

