How do you set a variable name to a variable value?
古いコメントを表示
If I make a variable ( a = 'name' ), I want to set the variable name with the value of a.
ex) ( name = )
4 件のコメント
KSSV
2021 年 8 月 6 日
name = 3 ;
name = 'John' ;
That's it....why you want to assign again a ? This approach is not accepted.
JIWON LEE
2021 年 8 月 6 日
KSSV
2021 年 8 月 6 日
John = 3 ;
This is enough right.
Stephen23
2021 年 8 月 6 日
Before you force yourself into writing slow, inefficient, complex code that is difficult to debug, you should read this:
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Variables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!