how to access variable from another function

1 Ansicht (letzte 30 Tage)
Alice Faisal
Alice Faisal am 19 Okt. 2018
Kommentiert: Stephen23 am 20 Okt. 2018
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 Kommentar
Stephen23
Stephen23 am 20 Okt. 2018
Either pass them as arguments or use nested functions. What have you tried so far?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

madhan ravi
madhan ravi am 19 Okt. 2018

Kategorien

Mehr zu Graphics Objects finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by