Transfering results form one function to another one

1 次查看(过去 30 天)
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

请先登录,再进行评论。

采纳的回答

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 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by