Borrar filtros
Borrar filtros

how to access variable from another function

10 visualizaciones (últimos 30 días)
Alice Faisal
Alice Faisal el 19 de Oct. de 2018
Comentada: Stephen23 el 20 de Oct. de 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 comentario
Stephen23
Stephen23 el 20 de Oct. de 2018
Either pass them as arguments or use nested functions. What have you tried so far?

Iniciar sesión para comentar.

Respuestas (1)

madhan ravi
madhan ravi el 19 de Oct. de 2018

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by