Results 1 to 2 of 2

Thread: How to convert .dat BINARY FILE into ASCII FILE using MATLAB?

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Location
    Leibniz Institute for Tropospheric Research, Leipzig, Germany
    Posts
    37
    Thanks
    0
    Thanked 1 Time in 1 Post

    How to convert .dat BINARY FILE into ASCII FILE using MATLAB?

    Hi,

    Can anyone help me by knowing me how to convert a .dat BINARY FILE into ASCII FILE using MATLAB? is there any direct command to convert the file?

    Please help me or suggest me only in MATLAB code.

    Thanks,
    MADHAVAN

  2. #2
    Join Date
    Oct 2006
    Location
    University of Alberta
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you do want to use matlab, there's a matlab function, fread, dealing this issue. You can check its help document. To output your data in ascii, using fprintf will be a good choice.
    Last edited by bosomfriend; 6th November 2009 at 11:41 PM. Reason: Not complete

Similar Threads

  1. Can any one say how to read this txt file in MATLAB
    By blmadhavan in forum Oceanographic Applications & Data Analysis
    Replies: 7
    Last Post: 19th May 2010, 10:53 PM
  2. How can I load a .dat file in IDL programming?
    By blmadhavan in forum Oceanographic Applications & Data Analysis
    Replies: 0
    Last Post: 30th October 2009, 07:48 PM
  3. Loading .dat file into Matlab.
    By sd97 in forum Oceanographic Applications & Data Analysis
    Replies: 1
    Last Post: 24th October 2009, 11:42 PM
  4. Reading FTP files into MatLab .DAT files
    By imuhammedad in forum Oceanographic Applications & Data Analysis
    Replies: 1
    Last Post: 12th April 2007, 04:00 AM
  5. Convert netcdf to plain ASCII
    By Toby in forum Oceanographic Applications & Data Analysis
    Replies: 3
    Last Post: 12th April 2006, 07:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •