Calling a function inside another function ?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 :)
0 comentarios
Respuestas (1)
Walter Roberson
el 4 de Sept. de 2016
function S = FirstFunction(a,b)
[a, b, c] = SecondFunction(a); %just call it
S = .... something
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!