According to the SAVE function documentation, Example 3:
Save the variables vol and temp in ASCII format to a file named june10: save('d:\mymfiles\june10','vol','temp','-ASCII')
However, this only saves the variable contents, not their names.
asciidocdocumentationfilematMATLABsavevariable
Save the variables vol and temp in ASCII format to a file named june10: save('d:\mymfiles\june10','vol','temp','-ASCII')
Best Answer