Difference between variable and property (public, private)

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

"Why can it lead to problems ..."
Yes, you have missed something important. See
Alright. Thanks for your help.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2019a

질문:

2019년 6월 14일

댓글:

2019년 6월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by