Referring to other variables in a variable
Afficher commentaires plus anciens
Say I have a variable that contains a string array: date='1 October 2018' I want to create a new variable containing that variable plus something else (say 'hjhjhj'), like: newdate=date+'hjhjhj' How do I do this? Do I have to convert to their numeric values?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Characters and Strings 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!