A C++ mex code for fast calculation of the Levenshtein distance between two strings.
You need to compile this using "mex -setup" and then "men LevenDistance.cpp".
This is based on a corrupted source code from:
Hanan Shteingart (2021). Levenshtein Distance Fast (MEX) C++ (https://www.mathworks.com/matlabcentral/fileexchange/46400-levenshtein-distance-fast-mex-c), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!