[Functionality] mmat option for saveas function [Result] Errors [Use Instead] savefig function [Compatibility Considerations] 
Remove all instances of using the mmat option with saveas. To save a figure to a file, use hgsave with the .fig extension.