https://uk.mathworks.com/help/driving/ref/updatelanespec.html
updateLaneSpec - Update lane specifications using sensor detections - MATLAB
This MATLAB function updates the reference lane specifications refLaneSpec using the recorded lane detection data laneDetections.
updatelanespecificationsusingsensor