Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Import Matlab dataset to Stata

    Hi,

    Is there any way Stata can import MATLAB Data (.mat)? I cannot seem to be able to upload the dataset I'm trying to import in here. Note that I do not have Matlab and cannot convert from Matlab to *.cvs first. Thanks.


  • #2
    I think Stata cannot do this natively, and I think nobody has programmed this as a user contributed command.

    If you have StatTransfer, I think it can do this.

    Another lengthy but free option is to import this in R, there is an R package which supposedly can read and write Matlab files Package 'R.matlab' and from there to import in Stata.

    Comment


    • #3
      via python scipy.io.loadmat https://docs.scipy.org/doc/scipy/ref...o.loadmat.html

      Comment


      • #4
        Thank you both!

        Comment

        Working...
        X