lasdata
A small tool to read and write LAS files in Matlab. Limited conversion capacity is also included and modifications/repairs to LAS data structures are possible via direct editing of variables. Supposedly reads all versions of LAS up to 1.4 version. As usual this tool was made for a single project and testing done to it is very light. Can also open LASZ compressed files if you provide the laszip executable (note: it simply decompresses the file automatically, nothing else).
Update note:
Alibity to create empty object ('createemptyobj' constructor parameter) with a empty header (you need to lookup las specification for values & data types).
Loading all variables with constructor parameter ('loadall'). Note full waveform lidar waveforms are not loaded. Use getwaveforms for that.
Cite As
Teemu Kumpumäki (2025). lasdata (https://www.mathworks.com/matlabcentral/fileexchange/48073-lasdata), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis >
- Industries > Automotive >
- Aerospace and Defense > Aerospace Blockset > Guidance, Navigation, and Control (GNC) >
- Robotics and Autonomous Systems > Automated Driving Toolbox > Detection and Tracking > Lidar Processing >
- Automotive > Automated Driving Toolbox > Detection and Tracking > Lidar Processing >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.7.0.0 | Added missing LAS 1.0 specific variable record start & point data start signatures.
|
||
1.6.0.0 | Added missing magic numbers to las 1.4 point formats to read the classification variable. |
||
1.5.0.0 | Fixed two bugs while using the 'loadall' command. |
||
1.4.0.0 | Fixes to the LAS 1.4 reading / writing.
|
||
1.3.0.0 | Added constructor parameters. |
||
1.2.0.0 | Fixes LAS 1.0 file handling. |
||
1.1.0.0 | Corrected licence. |
||
1.0.0.0 |