//============================================================================= /// <summary> /// Write a named matrix of string in scilab /// </summary> /// <param name="matrixName"> variable name</param> /// <param name="iRows"> Number of row</param> /// <param name="iCols"> Number of column</param> /// <param name="matrixDouble"> pointer on data</param> /// <returns> if the operation successes (0) or not ( !0 )</returns> public int createNamedMatrixOfString(string matrixName, int iRows, int iCols, string[] matrixString) { System.IntPtr ptrEmpty = new System.IntPtr(); //cEngineDlls.api_Err SciErr = m_objScilabInvoker.createStrMat(ptrEmpty, matrixName, iRows, iCols, matrixString); Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.createNamedMatrixOfString(ptrEmpty, matrixName, iRows, iCols, matrixString); return(SciErr.iErr); }