process a list of files with a specific extension name in matlab

后端 未结 4 1532
甜味超标
甜味超标 2020-12-05 20:00

How can I process all the files with \".xyz\" extension in a folder? The basic idea is that I want a list of file names and then a for loop to load each file.

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-05 20:17

    You could use

    fileName=ls('*xyz').

    fileName variable will have the list of all the filenames which you can use in the for loop

提交回复
热议问题