Azzera filtri
Azzera filtri

immutable outputs from matlab functions

1 visualizzazione (ultimi 30 giorni)
M. Mubashir Hussain
M. Mubashir Hussain il 13 Giu 2023
Risposto: Walter Roberson il 13 Giu 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

Risposte (1)

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

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by