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 :)

Antworten (1)

Walter Roberson
Walter Roberson am 4 Sep. 2016

0 Stimmen

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

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 4 Sep. 2016

Beantwortet:

am 4 Sep. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by