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
2019-3-8
Why do you think a variable defined changes ? It will change if you over write the variable.
采纳的回答
Santhosh A V
2019-3-13
Hi Weihua Huang
Please refer below link for more information on the query.
Hope this helps.
Thanks
Santhosh
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!