I am wondering how to write a MatLab dataset or perhaps a table variable to a .mat file. An example or guidelines would be much appreciated.