How to get define object name from a 'string'?
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Earth and Planetary Science についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!