0
$\begingroup$

I have one question.I have got my data xy1 from Matlab.But when I import it into Mathematica,I get result as follow

  XY1 = Import["xy1.mat", Path -> "D:\\Matlab\\data"]

enter image description here

My data xy1:

enter image description here

Sorry,I do not know how to import my data xy1.mat here.If you know,I will import it here.Thank you!

$\endgroup$
0
$\begingroup$

If you have Matlab, why not transform format from ".mat" to ".csv". A MAT-file stores data in binary (not human-readable) form. You can find some information about MAT-file from this link: https://wenku.baidu.com/view/6d6ee6bd960590c69ec37646.html

But if you use Matlab transforn file format to "csv", then use Mathematica import data is very simple. You can use this Code:

Import["*.csv"]
$\endgroup$
  • $\begingroup$ Thank you for your help.I have never thought the transform format from ".mat" to ".csv" before.Maybe I do not Import data from one software to another $\endgroup$ – Bo Zhu Jun 11 '17 at 3:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.