matlab help for converting .dat to .mat

Status
Not open for further replies.
Load the .dat file using the load command. I have a file called
cx.dat in my matlab\work directory.

load cx.dat

who

Your variables are:

cx

Now you can use the save command.

save

Saving to: matlab.mat

Now your data file has been saved to the default name matlab.mat

Later on, if you load matlab.mat using the load command and check to
see what got loaded, it should be your original data file. You can
check this using the "who" command. Hope this helps

Regards,
Manthan555
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…