how to convert ascii .dat files to .xml using Matlab

6 views (last 30 days)
hi,
I have a set of ascii files with the extension .dat and I need to convert them into a set of .xml files.
Is there anyway to do this with Matlab.
this is one of the files that I need to convert:
thank you very much
  2 Comments
Walter Roberson
Walter Roberson on 4 Oct 2012
(File appears to be a number of text lines, each containing a number of blank-delimited fixed-width columns, mostly numbers near-ish to 2.3 )
Jan
Jan on 4 Oct 2012
It depends, Adnane. Are you able to import the DAT files already and convert the contents to a useful structure? Did you ask Google for "Matlab xml" already and searched in the docs and the FileExchange pages?

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!