StructBrowser

StructBrowser, GUI for browsing any structure (or nested structures) and plotting its fields.

이 제출물을 팔로우합니다

The CRC-StructBrowser is designed to expose the contents of all variables of class struct to any depth and plot any of the components. The tool is very useful especially for nested structures. It displays the structure in a tree format starting from the first level. The tree is expanded (or shrunk) to the corresponding level by double-clicking.

Syntax:
StructBrowser
StructBrowser_gui_g(cell_struct)

The easiest way of starting up the GUI is to type the command "StructBrowser" while the workspace contains some information (the same command can be used in the debug mode).

The GUI can also be launched by typing: StructBrowser_gui_g(cell_struct)
in the MatLab command. cell_struct is a cell of size (2 X N), where N is the number of structures to browse. The first row of cell_struct contains all the structures' names, and the second row contains all the corresponding values. Assuming your workspace contains the 3 structures struct_1, struct_2 and struct_3, cell_struct is described by the following:

cell_struct = ...{'struct_1', 'struct_2', 'struct_3'; ...
struct_1, struct_2, struct_3};

In the case of the base workspace, the function "copy_all_struct" is provided to copy all variables of class struct from workspace and store them in a cell array. The syntax of this function is:

cell_struct = copy_all_struct;

인용 양식

Hassan Lahdili (2026). StructBrowser (https://kr.mathworks.com/matlabcentral/fileexchange/3523-structbrowser), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Environment and Settings에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.1.0.0

BSD license

1.0.0.0

Add screenshot.