Filter löschen
Filter löschen

immutable outputs from matlab functions

1 Ansicht (letzte 30 Tage)
M. Mubashir Hussain
M. Mubashir Hussain am 13 Jun. 2023
Beantwortet: Walter Roberson am 13 Jun. 2023
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

Antworten (1)

Walter Roberson
Walter Roberson am 13 Jun. 2023
No. The closest you can get is to create a class that does not have a public set method for the properties.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by