Polyspace — R2021a

Polyspace R2021a: A Deep Dive into Features, Bug Fixes, and Workflow Enhancements

The release of Polyspace R2021a marked a significant milestone for engineers and embedded software developers striving for compliance with high-integrity standards (ISO 26262, DO-178C, IEC 61508). As part of the MathWorks Spring 2021 release, Polyspace R2021a didn’t just introduce incremental bug fixes; it redefined how static analysis integrates into CI/CD pipelines and agile development workflows.

This article explores the new features, performance improvements, and specific code-checking capabilities introduced in Polyspace R2021a, while providing guidance for teams looking to upgrade from legacy versions. polyspace r2021a


Real-World Case Study: Aerospace Flight Controller

A Tier-1 aerospace supplier (anonymous due to ITAR) migrated from LDRA to Polyspace R2021a for a fly-by-wire controller. Polyspace R2021a: A Deep Dive into Features, Bug

Codebase: 1.2M LOC of C99, targeting DO-178C Level A. Real-World Case Study: Aerospace Flight Controller A Tier-1

Challenge: Previous static analysis produced 4,000+ warnings, requiring 6 person-months of manual triage per release.

Polyspace R2021a Results:

Outcome: First-pass certification success. The verification team shrank from 12 to 7 engineers.


9. Upgrade Recommendations from R2020b or Earlier

  1. Run compatibility checkpolyspace-cxx-compatibility-check on existing project configurations.
  2. Rebaseline – New checkers may introduce additional findings; baseline to ignore legacy noise.
  3. Update CI scripts – Replace deprecated -run with -sources and -target-compiler.
  4. Test on a representative module before full rollout.

Typical Use Cases

6. Upgrading from Polyspace R2020b to R2021a

10. Compatibility Notes