According to the documentation for UIGETFILE, you can allow the user to select multiple files. Then simply loop through the filenames while creating your storage array. If the data are different sizes, you might have to use a cell array.
uigefile or uiimport for multiple files?
1 次查看(过去 30 天)
显示 更早的评论
For my script I want to import a bunch of text files at once, preferably with the user interface like in uigefile or uiimport. The individual imported files could be stored in a big aray or seperately. Also it would be great if I could get the filenames of the individual files.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!