Using the C++ Math Library    

Exporting Array Data to a MAT-File

Using save(), you can save the data within mwArray variables to disk. The prototype for save() is:

file contains the name of the MAT-file; mode points to a string that indicates whether you want to overwrite or update the data in the file. You must pass at least one pair of arguments indicating the name you want to assign to the data you're saving and the address of the mwArray variable that you want to save:


 Importing and Exporting MAT-File Data Importing Array Data from a MAT-File