What do the load, save and diary commands in MatLab do?
My most common problem is confusion between the following commands: diary Diary will append a log of your session to a text file, this will show all the work done, is human readable. The default file is calleddiary, but you can name a file and it will append to it. Matlab can NOT read this file. load/save Load/Save will save all the memory contents to a binary file, that completely overwrites the previous contents of the file. This file will contain all the array and variables in memory. It does NOT contain a record of work done, commands used etc. The default file is matlab.mat, but can be any file.