nexus_lint
matlab_compat · scripts/matlab_compat/nexus_lint.m
NEXUS_LINT Nexus lint CI step: checkcode all .m files; fail on E-class.
report = nexus_lint()
report = nexus_lint(source)
report = nexus_lint(..., Name, Value)
MATLAB R2026a equivalent: matlab.buildtool.tasks.CodeIssuesTask with
default ErrorThreshold=0 (fail when Severity=="error" / E-class messages
such as SYNER are present). Warnings do not fail the step unless
WarningThreshold is set below the warning count.
Name-Value pairs are forwarded to CodeIssuesTask (IncludeSubfolders,
Configuration, ErrorThreshold, WarningThreshold, InfoThreshold, Results).
With no output, throws on threshold violation (CI fail). With an output,
returns a struct report and still throws on failure (matching buildtool).