SetByText
Set the values of a matrix by separated values in a string.
int SetByText( LPCSTR pTxt, char cSep = ',', double dMissing = 0 )
Return 0 if no error, otherwise < 0 error codes
EX1
void st(string str="1,2,3\r\n2,3,4\r\n7,8,9\r\n") { matrix<int> mm; mm.SetByText(str); Worksheet wks = Project.ActiveLayer(); mm.CopyTo(wks);//default will transpose }
matrixbase::SetByVector
origin.h