I have a networkx graph, whose adjacency matrix and node labels are to be stored in a .mat file.
This is how such a file would look like. I have seen that scipy
scipy