load files when only partial filename is known

10 次查看(过去 30 天)
Hi
I am looking for a way to load all files which start with a certain string, say "Subject_1_Part_1.....mat". "..." would be a part which is unknown, or variabel - is there any way to load these files, i.e. something like load('Subject_1_Part_1*.mat')?
Thanks
  2 个评论
MiauMiau
MiauMiau 2017-9-14
Sorry, I actually remembered only the first part of the answer (which is quite a work around) and not this: listing = dir('results*.m'); which is indeed helpful. Thx

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by