Calling a function inside another function ?

I have a function called [S]=FirstFunction(a,b) inside this function, i want to call another function called [a,b,c]=SecondFunction(a)
How do i do this? Thanks :)

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 9 月 4 日

0 投票

function S = FirstFunction(a,b)
[a, b, c] = SecondFunction(a); %just call it
S = .... something

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2016 年 9 月 4 日

回答済み:

2016 年 9 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by