immutable outputs from matlab functions
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Walter Roberson
el 13 de Jun. de 2023
No. The closest you can get is to create a class that does not have a public set method for the properties.
0 comentarios
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!