Load data with .SPC extensions and certain name characteristics

Hello,
Say I have a folder containing multiple .spc files (see image below). How do I load only .spc files which has abc as part of the name. As one can see, there are 5 files with .spc extensions but only 3 of them have abc as part of the name. What code/script can I use to load only the .spc files with abc as part of the name?
Thanks!

Categories

Find more on General Applications in Help Center and File Exchange

Products

Release

R2019b

Tags

Asked:

on 2 Jan 2023

Answered:

on 2 Jan 2023

Community Treasure Hunt

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

Start Hunting!