Loading files

5 次查看(过去 30 天)
developer
developer 2011-3-31
I have the files with extensions .3dd,.pgm and .ascii and i want to load these files in matlab. Please help how can i do that.
Thanks

回答(2 个)

Sarah Wait Zaranek
Sarah Wait Zaranek 2011-3-31
I find this chart helpful. It lists the file types that core MATLAB can read/write and what functions to use.
As to your specific question, core MATLAB can read .ascii and .pgm.
I don't think .3dd is supported out of the box.
  2 个评论
developer
developer 2011-3-31
Thanks actually i have seen this before and it contain PGM but not ASCII
Sarah Wait Zaranek
ascii can be read with any of the text readers --- click on the documentation of that function to find out more. Most do it out of the box, but load requires letting it know it is ascii and not a mat-file.

请先登录,再进行评论。


Walter Roberson
Walter Roberson 2011-3-31
Which .3dd format? There are at least three of them. Are you referring to the one used for some mapping software ?
  2 个评论
developer
developer 2011-3-31
Yes actually i want to use a 3D laser scanner data to apply 3D SLAM(Simultaneous Localization & Mapping) technique.
So the sensor is giving me frames in ascii, pgm and 3dd extensions and i want to use these files in matlab
Walter Roberson
Walter Roberson 2011-3-31
Session 2 of the below should have relevant MATLAB code, but not necessarily for those file formats
http://www.robots.ox.ac.uk/~SSS06/Website/index.html

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Cell Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by