使用readmatrix如何用循环读取按顺序命名的excel文件。
Afficher commentaires plus anciens
您好:
我想要用readmatrix函数,使用循环读取按数字顺序命名的excel文件,但是不清楚如何实现,只能做到一次读取一个文件,读下一个文件时还得修改文件名。
附:文件名依次为:20220101;20220102;20220103;20220104;20220105;20220106;20220107;20220108;20220109;20220110
M = readmatrix( '20220101.xlsx' );
再补充下:不需要非要用readmatrix函数,其他函数能实现循环读取也可以,谢谢
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 电子表格 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!