nexus_cli_objectinspector_default_off_p
matlab_compat · scripts/matlab_compat/nexus_cli_objectinspector_default_off_p.m
NEXUS_CLI_OBJECTINSPECTOR_DEFAULT_OFF_P True when argparse should default
inspectors off (GitLab #893).
ObjectInspectorV2 requires uifigure. On Nexus CLI (NEXUS_VERSION),
default construct of a research GUI must not require App Designer.
Install-only trees often omit scripts/gui entirely.
Returns true when NEXUS_OBJECTINSPECTOR_FORCE is not 1 and any of:
- Nexus/Nexus runtime (exist NEXUS_VERSION)
- nexus_headless_graphics_p / NEXUS_HEADLESS=1
- uifigure unavailable
Explicit 'objectinspector_enable', true still wins in argparse.
Set NEXUS_OBJECTINSPECTOR_FORCE=1 for GUI sessions that want defaults on.