data structure in Matlab for actively add and remove objects or structure.
1 view (last 30 days)
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.
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.