Matlab sequential function calls

조회 수: 11 (최근 30일)
Carina
Carina 2015년 12월 1일
편집: Stephen23 2015년 12월 1일
I have a matlab script. From this script I have to call some sequential function calls I know how to write a function but not sequential function calls.
My Script File looks like this:
function1(input arguments)
function2(result from function1)
For function2 I need my results from function1 How can I now pass the result from function1 to function2 in my script file? Or am I doing this completely wrong?
  댓글 수: 2
Torsten
Torsten 2015년 12월 1일
편집: Stephen23 2015년 12월 1일
You mean a call from the function like
result1 = function1(...);
result2 = function2(result1);
?
Best wishes
Torsten.
Carina
Carina 2015년 12월 1일
Yes thanks! this works :)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Special Characters에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by