Skip to content

nexus_startup_banner

miscellaneous · scripts/miscellaneous/nexus_startup_banner.m

: nexus_startup_banner ()

Show a one-line announcement from the download portal, once per version.

Called from the startup file of an interactive installed build. The portal GET /api/v1/news/banner?version= returns {show: false} when there is nothing to say; Nexus prints nothing in that case. The request times out after 2 seconds. An unreachable portal, a bad reply, or an offline machine is silent and does not delay startup past that timeout.

The text and optional URL are written by the Nexus team. A banner is shown once for a given installed version and banner id, then recorded under banner-seen.txt in the per-user Nexus settings folder (~/.config/nexus, or %APPDATA%\\nexus on Windows). NEXUS_NO_BANNER skips the check. Scripted runs (--eval, a script file), --version, --help, CI, and a development build with no build stamp also skip it.

MATLAB R2026a shows a dismissible welcome for a new major release and does not block batch jobs or wait on the network. This matches that: batch and --eval never ask, and a failed request prints nothing.