data structure in Matlab for actively add and remove objects or structure.

1 view (last 30 days)
Hi!
I need to actively add and remove objects or structures that have multiple pieces of information, including a handle that controls UIAxes.
Does MATLAB have such a data structure?
For example, it feels like a binary tree or a character that can be mass produced in a game.
ADD
I'm making a 3D graphical GUI that represents the orbit of a satellite over time. The number of satellites can be multiple, and each has different properties (orbital element, satellite mass, etc.), so I compared it to a character in a game. Since the shape of the orbit that should appear in UIAxes is different depending on the orbital element of the satellite, I thought that the object/structure should also contain the handle of the UIAxes. This GUI should be able to create and remove satellites, which is why I asked the above question.
  2 Comments
Jae-Hee Park
Jae-Hee Park on 15 Jun 2022
Edited: Jae-Hee Park on 15 Jun 2022
@Geoff Hayes Actually, I'm making a 3D graphical GUI that represents the orbit of a satellite over time. The number of satellites can be multiple, and each has different properties (orbital element, satellite mass, etc.), so I compared it to a character in a game. Since the shape of the orbit that should appear in UIAxes is different depending on the orbital element of the satellite, I thought that the object/structure should also contain the handle of the UIAxes. This GUI should be able to create and remove satellites, which is why I asked the above question.

Sign in to comment.

Answers (0)

Categories

Find more on Reference Applications in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by