1

I have a matlab GUI....I'd like to load ANY file type(doc,txt,dat,xls) into matlab as a matrix through the GUI...I'd appreciate any help I can get!!

Shai
  • 111,146
  • 38
  • 238
  • 371
Tim
  • 61
  • 1
  • 1
  • 12

1 Answers1

1

DOC, XLS, DAT to txt


As you might have realised by now, .doc are not plain-text. AFAIK, Matlab doesn't have any method to natively read these files. Hence, i suggest you do the following:

GoodLUCK!!

TheCodeArtist
  • 21,479
  • 4
  • 69
  • 130
  • thanks for d reply....but ur solution is about saving a matrix in matlab to a text file.....my question is.....how do i load these files as matrices into matlab. – Tim Apr 19 '10 at 12:04
  • ohh my mistake. Corrected the link now. Good LUCK!! – TheCodeArtist Apr 19 '10 at 12:41