There isn't a universally defined set of functions named dtw1, dtw2, or dtw3 in MATLAB, but different variations may exist.
You can take help from MATLAB file exchange.
In the search bar, type "DTW" or "Dynamic Time Warping" to search for relevant files.