<分区>
我希望在一行中将双输出函数的输出传递给双输入函数。
即如果我有两个函数
function [out1, out2] = funA(in)
%function definition here
function out = funB(in1, in2)
%function definition here
我想做类似的事情
out = funB(funA(in)) %this doesn't actually work
有没有语法可以做到这一点而不必把它写成
[o1, o2] = funA(in)
out = funB(o1, o2)
我也不找
[o1, o2] = funA(in); out = funB(o1, o2);