matlab - How to find a 1-digit word using regular expression -


i want able detect file looking @ extension:

.m, .fig, .mdl, .slx

but not

.mat

or others.

the final use call dir regular expression filters out unnecessary files.

my first obstacle define word of single character "m". couldn't figure out expression should use regexp, , documentation of matlab not clear enough.

an example of usage helpful, , reference more understandable place appreciated.


Comments