How to protect data in the workspace

3 ビュー (過去 30 日間)
Weihua Huang
Weihua Huang 2019 年 3 月 8 日
回答済み: Santhosh A V 2019 年 3 月 13 日
Is there anyway we could prepvent data in the workspace from being altered in function unintentionally?
in C++, we can declare a variable as const, do we have similar protection mechanism in Matlab?
  1 件のコメント
KSSV
KSSV 2019 年 3 月 8 日
Why do you think a variable defined changes ? It will change if you over write the variable.

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

採用された回答

Santhosh A V
Santhosh A V 2019 年 3 月 13 日
Please refer below link for more information on the query.
Hope this helps.
Thanks
Santhosh

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by