immutable outputs from matlab functions
2 ビュー (過去 30 日間)
古いコメントを表示
Hi!
Can I define Matlab function outputs as immutable (similar to Python) like user defined class properties can have set access as immutable?
Thanks & Regards,
Mubashir
0 件のコメント
回答 (1 件)
Walter Roberson
2023 年 6 月 13 日
No. The closest you can get is to create a class that does not have a public set method for the properties.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Software Development Tools についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!