Is it possible to gain a multiple return of function which can be forwarded as SINGLE arguments to another function?

1 回表示 (過去 30 日間)
Hello everybody,
in Matlab it is possible to call a function y(a,b) by an cell-array c={a0,b0} by y(c{:}). If I type c{:} to the console it will return: ans=a0 ans=b0
Is it possible to get this output from a function, e.g. function y2(c,d), while typing "y2(c0,d0)" would return: ans=c0 ans=d0
So I would like to be able to call y(y2(c,d)) just as an example.
Thank you very much in advance!

回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by