Azzera filtri
Azzera filtri

Calling a function inside another function ?

2 visualizzazioni (ultimi 30 giorni)
Mohammed
Mohammed il 4 Set 2016
Risposto: Walter Roberson il 4 Set 2016
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 :)

Risposte (1)

Walter Roberson
Walter Roberson il 4 Set 2016
function S = FirstFunction(a,b)
[a, b, c] = SecondFunction(a); %just call it
S = .... something

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by