None worked. The data includes 5 columns of numbers and one column of words.I can open it by notepad or export it to excel and then apply text to column.
If you use readtable, use the table2array (link) function to convert it to a homogeneous array. NOTE There is nothing specific about a.dat file, so there is no specific function to import one. The importdata and readtble functions are sufficiently robust to deal with most unknown file types and formats. C cell2mat(B) But this function does not convert B, which is a set of cells to ordinary data. If my Answer helped you solve your problem, please Accept it. Other MathWorks country sites are not optimized for visits from your location. ![]() Read Dat File Matlab How To Change YourPlease see our Privacy Policy to learn more about cookies and how to change your settings.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |