Ejemplo n.º 1
0
        /// <summary>
        /// Gets a matrix variable info
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public MatrixDescription GetMatrixInfo(string name)
        {
            IntPtr            pa = MATInvoke.matGetArrayHeader(mat, name);
            MatrixDescription md = new MatrixDescription(pa);

            MATInvoke.mxDestroyArray(pa);
            return(md);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets a matrix variable info
 /// </summary>
 /// <param name="name"></param>
 /// <returns></returns>
 public MatrixDescription GetMatrixInfo(string name)
 {
     IntPtr pa = MATInvoke.matGetArrayHeader(mat, name);
     MatrixDescription md = new MatrixDescription(pa);
     MATInvoke.mxDestroyArray(pa);
     return md;
 }