partial_match

Partial string compare
48 Downloads
Updated 7 Oct 2017

View License

Given two sets of words, this function finds whether (and where) the words of the first set are present in the second set.
The special power of this function is that it also works with "shifted matches" and "partial matchs". For example, if one is looking for the word SIMULINK but types SIMLINK or IMULINK, the function finds the match anyway.
Moreover, one can set an arbitrary percentual tolerance. With a low tolerance, even by typing SULIK the function recognizes that the searched expression is actually SIMULINK.

Cite As

Diego Di Maulo (2025). partial_match (https://se.mathworks.com/matlabcentral/fileexchange/64656-partial_match), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Modeling in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0