deal:Distribute inputs to outputs;
>> [id, name, data] = deal(123, 'zhang', randn(3))
注意:
[Y1, Y2, Y3, …] = deal(X);
Y1 = X; Y2 = X; Y3 = X;
[Y1, Y2, Y3, …] = deal(X1, X2, X3, …)
Y1 = X1; Y2 = X2; Y3 = X3; ...
deal:Distribute inputs to outputs;
>> [id, name, data] = deal(123, 'zhang', randn(3))
注意:
[Y1, Y2, Y3, …] = deal(X);
Y1 = X;
Y2 = X;
Y3 = X;
[Y1, Y2, Y3, …] = deal(X1, X2, X3, …)
Y1 = X1;
Y2 = X2;
Y3 = X3;
...