Extraction of Global mass and stiffness matrices from abaqus modal analysis

How do we extract global mass and stiffness matrices in matrix format from the Abaqus output file ? if anyone know please help