使用readmatrix如何用循环读取按顺序命名的excel文件。
Ältere Kommentare anzeigen
您好:
我想要用readmatrix函数,使用循环读取按数字顺序命名的excel文件,但是不清楚如何实现,只能做到一次读取一个文件,读下一个文件时还得修改文件名。
附:文件名依次为:20220101;20220102;20220103;20220104;20220105;20220106;20220107;20220108;20220109;20220110
M = readmatrix( '20220101.xlsx' );
再补充下:不需要非要用readmatrix函数,其他函数能实现循环读取也可以,谢谢
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu 电子表格 finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!