Beispiel #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);
        }
Beispiel #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;
 }