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

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

 Accepted Answer

0 votes

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

More Answers (0)

Categories

Find more on MATLAB 快速入门 in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!