How to get define object name from a 'string'?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I defined class, say, Planet:
{ classdef Planet properties Data end end } Now I would like to enter some name which I get as a string, say "Mars".
How I can create automatically object: Mars=Planet ??
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Earth and Planetary Science in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!