rwl_read.m is a Matlab function that could read Tucson decadal tree-ring measurement data (.rwl) and correct formating errors. test.rwl is a pseudo rwl file to show examples for each error type and also for users to try rwl_read function.
This function requires insertarray.m.
Simply add a copy of the source codes (rwl_read.m and insertarray.m) in the MATLAB paths.
Matlab R2020a
Yang Liu
Liu Y. rwl_read: A MATLAB program to identify and correct formatting errors in tree-ring measurement files. SoftwareX, 2023, 21: 101285. https://doi.org/10.1016/j.softx.2022.101285