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 件のコメント

per isakson
per isakson 2019 年 6 月 14 日
"Why can it lead to problems ..."
Yes, you have missed something important. See
Christian Tieber
Christian Tieber 2019 年 6 月 14 日
Alright. Thanks for your help.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction 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