Skip to content

nxide_param_set

plot · scripts/plot/util/nxide_param_set.m

NXIDE_PARAM_SET  Apply a typed value to a SetObservable app property.

  nxide_param_set (obj, name, value)

Used by the IDE side-channel handler (nexus#2359) in response to an
ide:param_set / op:"param_set" request from the Parameters panel
(nexus-ide#72 / nexus#2355).

Behaviour (MATLAB R2026a Property Inspector write-back parity):
  * OBJ must be a handle-class instance.
  * NAME must name an existing SetObservable property (case-sensitive
    findprop match).  Meta siblings Name_LUT / Name_CLASS are not
    writable through this entry point.
  * When a sibling NAME_LUT property exists, VALUE must match one of
    its entries (string compare).  On match the corresponding LUT
    entry is assigned so cellstr / string / char storage is preserved.
  * When NAME_CLASS exists, VALUE is coerced to that class before
    assignment (logical, numeric classes, char, string).
  * Assignment uses obj.(name) = value so PreSet / PostSet listeners
    on SetObservable properties fire, matching MATLAB.

Errors use identifier Nexus:nxide_param_set:* so the IDE can surface
them; messages name the property when relevant.