Polyspace Copilot

Polyspace Copilot FAQ

Getting Polyspace Copilot

Individual licenses are available for purchase for commercial and academic customers. Polyspace Copilot is included in certain offerings such as Campus-Wide access and Institute-Wide License. Polyspace Copilot is not available for Home, Student, Academic Teaching, and Community and Technical College offerings. Polyspace Copilot is only available in certain regions.

You do not need to install additional software to use Polyspace Copilot. After obtaining a license for Polyspace Copilot, link end users to it. End users can use Polyspace Copilot after they sign in to the Polyspace as You Code plugin for Visual Studio Code (R2026a or newer) with their MathWorks Account. See Set up Polyspace Copilot for more details.

Polyspace Copilot is only available through the Polyspace as You Code extension in Visual Studio Code.

Using Polyspace Copilot

Polyspace Copilot focuses on helping you understand and address issues detected by Polyspace analysis, directly in Visual Studio Code. It provides tailored explanations of findings based on your local code context and can suggest code fixes to help resolve those findings. Polyspace Copilot responses are based on MathWorks documentation.

Polyspace Copilot consists of features, such as Copilot Chat, that generate responses using Large Language Models (LLMs). The LLMs are grounded in MathWorks documentation and Polyspace analysis context. Polyspace Copilot uses LLMs hosted in the cloud to generate responses.

Polyspace Copilot does not generate or modify C/C++ code; however, it can provide code snippet suggestions and guidance on how you can fix coding defects reported by Polyspace.

You can disable Polyspace Copilot anytime by signing out of your MathWorks account in the settings of Polyspace as You Code plugin for Visual Studio Code.

Data Privacy and Security

Information on how MathWorks safeguards your data when you use Polyspace Copilot is available in the MathWorks Privacy Policy

MathWorks does not use end-user data submitted to Polyspace Copilot to train AI models. Your data is used only to fulfill your requests.

Polyspace Copilot may use additional context, like nearby code, to improve the quality of the generated results.