Using full filenames where you specify exactly what both the folder and the base filename is preferable.
Eliminate file mat.
Save and load workspace variables.
To change whether the specified file is permanently deleted or sent to the recycle bin change the deleting files preference.
Go to run 2.
Open temp and delete that 7.
The workspace is not maintained across sessions of matlab when you quit matlab the workspace clears.
To change whether the specified file is permanently deleted or sent to the recycle bin change the deleting files preference.
I second jan s suggestion.
Subscriber first d 6.
Robust code will make liberal use of fullfile and exist and not use cd as per the faq.
Click boot tab then click safe mode then apply 5.
To do so go to the home tab and in the environment section click preferences.
Mat files are not the same as material files which are rigs of rods texture reference files used with the rigs of rods 3d simulator game.
Delete filename deletes filename from disk without requesting verification.
However you can save any or all the variables in the current workspace to a mat file mat you can then reuse the workspace variables later during the current matlab session or during another session by loading the saved mat file.
Atomic combat saved game files is another file format that has a similar file extension of mato but those types of files open with atomic combat.