how to access variable from another function

16 次查看(过去 30 天)
I want to build two functions, the first one has basic equations, and the second one for channel modeling, my question is how to access a variable from the first function in the second function? because I want to assign values for the variables available in the first function, in the second function for example I will try for different temperature values can any one help?
  1 个评论
Stephen23
Stephen23 2018-10-20
Either pass them as arguments or use nested functions. What have you tried so far?

请先登录,再进行评论。

回答(1 个)

madhan ravi
madhan ravi 2018-10-19

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by