This command will return a one if the specified matrix exists otherwise zero will be returned. The matrix number should be an integer value.

Syntax: 
Return Integer=MATRIX EXIST(Matrix Number)