How to get define object name from a 'string'?
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Earth and Planetary Science in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!