fix call from powershell
Allan CORNET [Fri, 3 Jul 2009 06:57:18 +0000 (08:57 +0200)]
scilab/modules/call_scilab/examples/call_scilab/c#/dotnetsci/dotnetsci/Scilab.cs

index 547abce..54e7caf 100644 (file)
@@ -105,8 +105,7 @@ namespace DotNetScilab
             int iCols = 0;
             int[] iDim = new int[2];
 
-            double[] matrixDouble = new double[0];
-            readNamedMatrixOfDouble(matrixName, &iRows, &iCols, matrixDouble);
+            readNamedMatrixOfDouble(matrixName, &iRows, &iCols, null);
 
             iDim[0] = iRows;
             iDim[1] = iCols;