How to store variable name AND value in an array?
Afficher commentaires plus anciens
Suppose I have some code which produces the following outputs:
density = 456
pressure = 356
temperature = 66
How can I store these variables and their names in an array to save them from being printed in the terminal for example?
Réponse acceptée
Plus de réponses (1)
添昊 张
le 26 Août 2022
0 votes
use 'who' to list variables in workspace?
Catégories
En savoir plus sur Structures 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!