How to protect data in the workspace

10 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Introduction 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