polyspace-as-you-code
(System Command) Run Polyspace as You Code from Windows, Linux, or other command line
Since R2026a
Syntax
Description
The polyspace-as-you-code system command runs a Polyspace®
as You Code™ analysis at the Windows®, Linux®, or other command line using analysis options specified as command-line flags or using an options file.
Note
This Polyspace command is available in . Here, polyspaceroot\polyspace\bin is the Polyspace
as You Code installation folder, for instance, polyspacerootC:\Program Files\Polyspace as You Code\R2026a (see also Run Polyspace as You Code from Command Line and Export Results). To avoid typing the full path to this command, add this location to the PATH environment variable in your operating system.
polyspace-as-you-code -sources runs a Polyspace
as You Code analysis on the source file sourceFile [options]sourceFile. You can customize the analysis with additional options.
polyspace-as-you-code -sources runs a Polyspace
as You Code analysis on the source file sourceFile -import-comments baselineFolder [options]sourceFile and then imports the review information from a previous run stored in baselineFolder. See -import-comments (Polyspace Bug Finder).
Use this workflow to compare your results against the results of a previous run that you download from Polyspace Access™ and focus on new results only or on unreviewed results. See Command Line: Configure Baseline Results in Polyspace as You Code.
polyspace-as-you-code -sources runs a Polyspace
as You Code analysis on the source file sourceFile -options-file optFilesourceFile with the options specified in the option file. When you have many analysis options, an options file makes it easier to run the same analysis again.
polyspace-as-you-code -h[elp] lists a summary of possible analysis options.
Examples
Input Arguments
Version History
Introduced in R2026a
See Also
polyspace-results-export (Polyspace Bug Finder) | polyspace-configure (Polyspace Bug Finder)