Skip to content

nxide_obj_schema

miscellaneous · scripts/miscellaneous/nxide_obj_schema.m

: schema = nxide_obj_schema (obj)

Reflect a handle-class (or struct) instance into an IDE object schema.

Returns a struct with fields:

  • class — class name of obj
  • properties — struct array of {name, class, value} (and optional lut when a sibling Name_LUT is present). Sibling Name_LUT and Name_CLASS properties are also listed so the IDE can fold them (nexus-ide Parameters panel / nexus#2354).

Grouping for the Parameters panel is by the text before the first underscore in each property name (MATLAB App Designer convention). This M-file is the pure-M engine used by nexus.app; a C++ builtin of the same name (nexus#2354) may shadow it when installed.