Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MATLAB assigns a handle to every graphics object it creates. One can use this handle to subsequently change the object's properties. The guihandles function allows the user to create a structure containing the handles of the objects in a figure. This feature is used in redAnTS to create redAnTS creates a structure containing the handles of the objects in the its graphical user interface (GUI) as shown below.

Image Removed

The user can augment . It then augments this "handles" structure with any data. Taking advantage of this feature, redAnTSuses the handles structure to store information about by adding fields corresponding to the mesh, material properties, displacements, strains, stresses, etc. In other words, the handles structure is the container that is used to store this FEA data. This data can be accessed and modified using the guidata function as is explained below. The handles structure is illustrated in the figure below.

Image Added

In the above figure, the fields guihandle1 and guihandle2 are handles for objects in the redAnTS GUI. The field mesh_data contains the mesh information (the x and y coordinates of the nodes etc.) and is, in turn, a structure. The field prop_data contains the materials properties (E, nu) and is also a structure. Yada yada yada.

Handles structure in redAnTS

...