Calling a function inside another function ?

9 ビュー (過去 30 日間)
Mohammed
Mohammed 2016 年 9 月 4 日
回答済み: Walter Roberson 2016 年 9 月 4 日
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 日
function S = FirstFunction(a,b)
[a, b, c] = SecondFunction(a); %just call it
S = .... something

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by