You can directly specify the file extension when calling save
. Use either of these forms:
save filename.settings
save('filename.settings')
To load the file, since the extension is not known to Matlab, you must indicate that the format is actually that of a .mat file:
load filename.settings -mat
load('filename.settings','-mat')