MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]如何读取mat文件中未知变量的内容 (https://www.labfans.com/bbs/showthread.php?t=3458)

xiaopang 2008-06-05 05:02

[求助]如何读取mat文件中未知变量的内容
 
比如有一个已知文件名的mat文件,里面有个矩阵,我不知道它 的变量名。现在我想编一个程序,代入mat文件的文件名以后,便能读取mat文件里的矩阵。我知道用load可以读取mat文件里的变量,但前提是必须知道变量名,能否在不知道变量名的情况下,也能读取变量内容呢?谢谢:sweat:

watcher 2008-06-06 15:25

对mat文件好像不行,读取txt文件应该可行


所有时间均为北京时间。现在的时间是 04:40

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.