Matlab有办法改​变load进来的变量​的变量名吗?

原来save了一个变量a,load进来之后它还叫做a,但是由于之前命名的问题,a这个名字不够直白,需要改名字,但是a这个矩阵很大,无法用矩阵赋值的方法,会内存溢出。
我想改变a的名字,有没有办法?

 採用された回答

0 投票

load a.dat
b=a;
clear a;
这个只会造成额外的一点点内存

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB 快速入门 についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!