Open and then close a .mat file

Simple C++ code to open and then close a .mat file