The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: convert file types
Replies: 1   Last Post: Jul 15, 2014 12:41 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 9,850
Registered: 6/7/07
Re: convert file types
Posted: Jul 15, 2014 12:41 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 07/15/2014 10:47 AM, Will wrote:
> I'm pretty new to matlab so if anyone could help me out I'd appreciate it.
> I would like to import some .dta files into matlab but am having a ton
> of trouble doing so. The solution I came up with is converting the file
> type by opening a command prompt in the folder and changing '.dta' to
> '.txt'. This works but I would really like to automate the whole
> process. Does anyone know how I could write this into a matlab script so
> it will convert the files before trying to import them?

a) What's a ".dta" file?

b) Changing a file extension has nothing whatsoever to do with
"converting" a file, it (the extension) is simply a convenient
identifier for the human and the OS/application "auto-open" facility.

To read these files into Matlab requires knowing the format or having a
conversion facility to some format that Matlab can recognize.


Date Subject Author
Read convert file types
Read Re: convert file types

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.