matlab help for converting .dat to .mat

Status
Not open for further replies.

saikat78

Newbie level 1
Joined
Dec 8, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
can anyone help me for converting .dat filr to .mat file???
 

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…