Calling a function inside another function ?
조회 수: 9 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Walter Roberson
2016년 9월 4일
function S = FirstFunction(a,b)
[a, b, c] = SecondFunction(a); %just call it
S = .... something
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!