1
我有一個簡單的功能如何在MATLAB中捕捉函數的輸出?
function increase(percent, number)
low = number - number*percent;
end
我想回到低,所以我可以用它作爲參數其他功能
mitoGen(asp, arg, increase(0.2, 234), glu)
有沒有辦法做到這一點?
我有一個簡單的功能如何在MATLAB中捕捉函數的輸出?
function increase(percent, number)
low = number - number*percent;
end
我想回到低,所以我可以用它作爲參數其他功能
mitoGen(asp, arg, increase(0.2, 234), glu)
有沒有辦法做到這一點?
這樣:
function [out1, out2] = foo(bar, baz)
http://www.mathworks.com/:
您還可以通過有超過一件事等號的左邊返回多個項目接入/服務支持/幫助/ techdoc/REF/function.html – Anycorn 2010-05-25 21:50:00