필터 지우기
필터 지우기

How to get define object name from a 'string'?

조회 수: 2 (최근 30일)
Sergey Lopatnikov
Sergey Lopatnikov 2018년 10월 10일
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개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by