Is it possible to make alias for a variable?
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I would like to use a more convenient name for a variable, and keep the old name also, but I don't want to make a real copy. So it is possible to make an alias?
1 commentaire
dpb
le 25 Sep 2015
Create the useful name first, maybe???
There is no equivalent of EQUIVALENCE nor any other way to do this in Matlab that I'm aware of.
Réponses (2)
James Tursa
le 25 Sep 2015
The closest thing in MATLAB to this might be a classdef object derived from handle, where multiple variables actually "point" to the same data.
0 commentaires
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!