How to protect data in the workspace
3 views (last 30 days)
Show older comments
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 Comment
KSSV
on 8 Mar 2019
Why do you think a variable defined changes ? It will change if you over write the variable.
Accepted Answer
Santhosh A V
on 13 Mar 2019
Hi Weihua Huang
Please refer below link for more information on the query.
Hope this helps.
Thanks
Santhosh
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!