Clear Filters
Clear Filters

How to protect data in the workspace

6 views (last 30 days)
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
KSSV on 8 Mar 2019
Why do you think a variable defined changes ? It will change if you over write the variable.

Sign in to comment.

Accepted Answer

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

More Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Tags

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!