public extern static SafeArrayPtr matGetVariable(SafeMATFilePtr pMF, string name);
public extern static SafeArrayPtr matGetNextVariable(SafeMATFilePtr pMF, string[] nameptr);
public extern static IntPtr matGetDir(SafeMATFilePtr pMF, ref int num);
public extern static int matPutVariableAsGlobal(SafeMATFilePtr pMF, string name, SafeArrayPtr pA);
public static extern SafeArrayPtr matGetNextVariableInfo(SafeMATFilePtr pMF, string[] nameptr);
public extern static int matDeleteVariable(SafeMATFilePtr pMF, string name);
public static extern IntPtr matGetDir(SafeMATFilePtr pMF, ref int num);
public static extern int matDeleteVariable(SafeMATFilePtr pMF, string name);
public static extern int matPutVariableAsGlobal(SafeMATFilePtr pMF, string name, SafeArrayPtr pA);
public static extern SafeArrayPtr matGetVariableInfo(SafeMATFilePtr pMF, string name);
internal MatFile(SafeMATFilePtr pa) { this.NativeObject = pa; CheckActive(); }