How to protect data in the workspace
조회 수: 6 (최근 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에서 C Shared Library Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!