read excel files from different directories
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I have a directory (named 'data') with subdirectories or different names (named 'bol', 'acro' and 'platin')- each of these subdirectories have one or two subdirectories (named 'up' and/or 'down') and then there are excel files that I have to read and modified. How can I create a Matlab code to be able to get to these excel files without moving them to the same directory. Thanks.
0 个评论
采纳的回答
Arnaud Miege
2011-5-24
Use a combination of dir, isdir, cd and pwd. For more details, see How can I process a sequence of files? on the MATLAB FAQ.
HTH,
Arnaud
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!