Find nearest-matching string from a set

Computes shortest distance between a key string and a set of strings to find the nearest match.

Download
Download

You are now following this Submission

Cite As

Brandon Kuczenski (2026). Find nearest-matching string from a set (https://se.mathworks.com/matlabcentral/fileexchange/36981-find-nearest-matching-string-from-a-set), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Calculation of distance between strings

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0

Updated to correct an error in the code and to add working examples to the description.

Download
1.1.0

Add link to strdist.m

Download
1.0.0

Download