Skip to content

nexus_support

miscellaneous · scripts/miscellaneous/nexus_support.m

: nexus_support ()
: nexus_support (message)
: report = nexus_support (message, name, value, …)

Send a support request to the Nexus team from inside Nexus.

The report holds your message, the last error (message, identifier and call stack), the last commands from the command history, the Nexus version and build, the operating system, the locale and the NEXUS_* environment variables other than the licence key. Nothing is sent until the complete report has been shown on screen and you answer y to ‘Send this report? [y/N]’. Any other answer sends nothing.

The report is posted to the support service of the download portal as the account that owns the licence given by NEXUS_LICENSE_EMAIL and NEXUS_LICENSE_KEY. When those are not set, the licence stored by the Windows installer is used (%ProgramData%\Nexus\license.json, then %APPDATA%\Nexus\license.json). The licence key is only used to sign in and is never part of the report. The server is NEXUS_LICENSE_SERVER, or https://nexusone.org.uk when that is not set.

Your own .m files are never sent unless you ask for it. Name the files with the Files option, or answer the extra question that lists the files of your own that appear in the error stack; the files you choose are shown in the report before you confirm. Files under the Nexus installation are never offered.

Options:

"Files"

A character vector or cell array of paths of .m files to attach. Default none.

"History"

Number of recent history lines to include (default 10, 0 for none).

"DiaryFile"

A diary file whose last 40 lines are included (default none).

"DryRun"

When true, show the report and return it without asking or sending.

"Server"

Base URL of the support service.

With an output argument the report is returned as a structure with the fields title, description, os_info, ran_command, nexus_result and sent.

nexus_support ("fft of my signal gives NaN")