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 Center および File ExchangeSpecial Characters についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by