View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

4.0 | 2 ratings Rate this file 14 Downloads (last 30 days) File Size: 1.29 KB File ID: #21434 Version: 1.0




14 Sep 2008 (Updated )

Reads in files in LAS 1.1 format and outputs comma delimited text files.

| Watch this File

File Information

Lidar or laser scanning data are often provided by vendors in binary LAS format. Though GIS softwares can be used to read in and display data, the attributes of the points are sometimes not accessible.
LASRead reads in files in LAS 1.1 format and outputs comma delimited text files with X coordinates, Y coordinates and Z coordinates (option 1), X coordinates, Y coordinates, Z coordinates and Intensity (option 2) or X coordinates, Y coordinates, Z coordinates, Intensity, Return number and Number of returns (option 3).

Large datasets (say, more than 3000000 points, depending on the system) may have to be split into smaller files to avoid errors related to available memory.

Reference: ASPRS LAS Specification Version 1.1, March 07, 2005

MATLAB release MATLAB 7.4 (R2007a)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
25 Feb 2016 Mike Alonzo

Cici: I have made some updates and some fixes to this code including:
1) changing bit3 to ubit3 for return num and number of returns to avoid wrap-around
2) inclusion of GPSTime
3) fix of pointsourceid offset

Would you like me to send to you or to post on my own with attribution to you?

19 May 2015 Jennifer

Is it possible with 1.4 data?

Comment only
10 Apr 2012 Oguzhan KAHYA

How can i use this file into Matlab R2006a (ver. 7.2)?

Comment only
20 Aug 2011 Amy Farris

Amy Farris (view profile)

LAS file formats 1.1 and 1.2 are so similar, that this m-file can read LAS1.2 files. Just change line 35 from:

if VersionMajor ~= 1 || VersionMinor ~= 1


if VersionMajor ~= 1

and it will work!

19 Aug 2011 Amy Farris

Amy Farris (view profile)

This is a very helpful file. Are you planning on unp-dating it to read LAS 1.2?

Comment only
15 Jul 2011 Sukuchha

Do you have also written Las writer in matlab ?

Comment only
30 Nov 2009 leonel solano

Can you attach a .las file to your post so I can see how it works, I'm completely confused :S I'm new at this with MatLab. Thanks.

Comment only
16 Sep 2008

I had forgotten to change the number of records to be read in back to 'inf' after doing a trial with 100000 records.

30 Mar 2016 1.0

Update for BSD License.

Contact us