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 Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

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