Calling a function inside another function ?
8 次查看(过去 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!