Transfering results form one function to another one

1 回表示 (過去 30 日間)
Zeynep Naz Kocabas
Zeynep Naz Kocabas 2019 年 12 月 2 日
Hi,
I am beginner with Matlab my question is how i can take values from one function to another one?
  2 件のコメント
jannat alsaidi
jannat alsaidi 2019 年 12 月 2 日
編集済み: jannat alsaidi 2019 年 12 月 2 日
If I understand you question correctly, you can put the values in a new variables then use them, can you show me an example to give you an accurate answer
Zeynep Naz Kocabas
Zeynep Naz Kocabas 2020 年 1 月 2 日
Thank you for your answer but I have learned how to do that.

サインインしてコメントする。

採用された回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 12 月 2 日
編集済み: KALYAN ACHARJYA 2019 年 12 月 2 日
"how i can take values from one function to another one?"
Its nesting of function, just call the 1st function to the 2nd function, where output arguments require.
function fun2...
..call fun1 with proper input arguments
end
Now call the 2nd fun to the main script
Hope it helps!
  4 件のコメント
Zeynep Naz Kocabas
Zeynep Naz Kocabas 2019 年 12 月 2 日
Okay, i did it thank you very much.
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 12 月 2 日
It's my pleasure :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by