How do you set a variable name to a variable value?
Afficher commentaires plus anciens
If I make a variable ( a = 'name' ), I want to set the variable name with the value of a.
ex) ( name = )
4 commentaires
KSSV
le 6 Août 2021
name = 3 ;
name = 'John' ;
That's it....why you want to assign again a ? This approach is not accepted.
JIWON LEE
le 6 Août 2021
KSSV
le 6 Août 2021
John = 3 ;
This is enough right.
Stephen23
le 6 Août 2021
Before you force yourself into writing slow, inefficient, complex code that is difficult to debug, you should read this:
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Variables dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!