octaveロードloadとストレージsave

2661 ワード

%     .mat  , ,  .mat , xx,  v
>> save xx.mat v
>> load xx.mat
>> who
Variables in the current scope:

a  v  x  y

>> clear x
>> who
Variables in the current scope:

a  v  y

>> load xx.mat
>> who
Variables in the current scope:

a  v  y

>> clear v
>> who
Variables in the current scope:

a  y

>> load xx.mat
>> who
Variables in the current scope:

a  v  y
%  ascii , , 。
>> save x.txt a -ascii
>> save a.txt a -ascii
>> who
Variables in the current scope:

a  v  y

>> clear a
>> who
Variables in the current scope:

v  y

>> load x.txt
>> who
Variables in the current scope:

v  x  y

>> load a.txt
>> who
Variables in the current scope:

a  v  x  y