# matDeleteMatrix

## Purpose

Delete named Matrix from MAT-file.

## C Synopsis

    #include "mat.h"
    void matDeleteMatrix(fp,name)
      MATFile *fp;
      char *name;

## Fortran Synopsis

    subroutine matDeleteMatrix(fp,name)
    integer*4 fp
    character*(*) name

## Arguments

`fp`
  MAT-file handle
`name`
  name of Matrix to delete

## Description

`matDeleteMatrix` deletes the named Matrix from the MAT-file pointed to by `fp`. The file is rewritten to accomplish this task.

(c) Copyright 1994 by The MathWorks, Inc.