Well, you will have to do some debugging.

1) Check if the code that creates the .mat file is executed
2) Check that the code that creates the content is executed

Cheers,
_