Difference between variable and property (public, private)

3 visualizaciones (últimos 30 días)
Christian Tieber
Christian Tieber el 14 de Jun. de 2019
Comentada: Christian Tieber el 14 de Jun. de 2019
What is the difference between a Workspace variable and a property (app designer) ?
Why can it lead to problems if you set a variable global or a property puplic?
If i would set a variable global i would´nt have to pass it between functions all the time. Or am i missing something here?
thanks in advance
  2 comentarios
per isakson
per isakson el 14 de Jun. de 2019
"Why can it lead to problems ..."
Yes, you have missed something important. See
Christian Tieber
Christian Tieber el 14 de Jun. de 2019
Alright. Thanks for your help.

Iniciar sesión para comentar.

Respuestas (0)

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by