Is it possible to make alias for a variable?
27 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
dpb
2015 年 9 月 25 日
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.
回答 (2 件)
James Tursa
2015 年 9 月 25 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!