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

回答(1 个)

Walter Roberson
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.

类别

Help CenterFile Exchange 中查找有关 Software Development Tools 的更多信息

标签

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by