This was the original code which worked fine columns a f would sort.
Save a mat file as excel.
If you do not specify filename the save function saves to a file named matlab mat.
Learn more about matfile importing excel data excel save.
Hi i tried to convert my mat data to xls but unable to do it.
The code in your m file might be something like this.
Xlsread also useful for csv file.
Name of file specified as a character vector or string scalar.
However you can save your data from matlab directly to an xls file using xlswrite function.
Save excel data to matfile.
Save a file in the open xml format default save a file in the office 2004 for mac file format.
Save a file as pdf.
Save a file as a webpage word and excel only save a file as plain text word only.
A file with the xls extension is a spreadsheet commonly used by microsoft excel applications in which data is stored in a table with rows and columns.
Change the default file format that files are saved in.
If filename has no extension that is no period followed by text and the value of format is not specified then matlab appends mat if filename does not include a full path matlab saves to the current folder.
Hi i have the code below which im trying to edit but getting a little stuck.
However you can save the file in another format or change the default file format.
1 comment show hide all comments.
I want to convert it to a xls can anyone give idea in this regard.
As of the complexity of what can be in an xls file the way to go is to import with xlsread probably postprocess and then write the mat file with save.
This file may include arrays variables functions and other types of data.
A file with a mat extension is a binary data file commonly used by matlab applications.