I am trying to extract both mass and stiffness sparse matrices from modal analysis using ANSYS 15 software, i used next code :

```
  !Stiffness
  *SMAT, MatKS, D, import, full, file.full, stiff
  *SMAT, Nod2Bcs, D, import, full, file.full,NOD2BCS
  *print, MatK, matKS.txt 
  *export, MatKS, mmf, matKSMMF.txt 
  !Mass
  *SMAT, MatMS, D, import, full, file.full, MASS
  *SMAT, Nod2Bcs, D, import, full, file.full,NOD2BCS
  *print, MatMS, matMS.txt 
  *export, MatMS, mmf, matMSMMF.txt 

```

I received 2 files in MMF format, one for the mass(matMsmmf.txt) and the other for stiffness (matKSMMF.txt). When I try to apply upper commands for ANSYS 19 or ANSYS 21 i receive next error arise:

```
*SMA command fails to open the file  file.full

```

I need some code to overcome this problem or the name of the file that contains required data rather than file.full