How to protect data in the workspace

12 vues (au cours des 30 derniers jours)
Weihua Huang
Weihua Huang le 8 Mar 2019
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 commentaire
KSSV
KSSV le 8 Mar 2019
Why do you think a variable defined changes ? It will change if you over write the variable.

Connectez-vous pour commenter.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Tags

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by