MATLAB: Close MATLAB from the keyboard

communicationhelpMATLAB

I would like to save a file or close it automatically by running a command. Something like: keyboard ("EXIT")