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!