Main Content

Additional options

R2026b

Specify additional instrumentation options

Since R2023b

Description

When instrumenting source code for code coverage and execution profiling calculations, you might use additional command-line flags that cannot be specified in the existing options in the user interface. Specify these flags in the additional options field.

Set Option

Set the option using one of these methods:

  • Polyspace Platform user interface (desktop products only): In your project configuration, on the Testing and Profiling tab, select the All Profiling node and then enter flags for this option.

  • Python® API: Set the ExtraOptions property in the testing and profiling configuration. See polyspace.project.TestConfiguration.

  • TOML configuration file (.toml.pscfg) — Use the key ExtraOptions in the [ProfilingOptions] table. For example:

    [ProfilingOptions]
    ExtraOptions = ["--flag1", "--flag2"]

Why Use This Option

Use this option to enter specific command-line flags provided by MathWorks® Technical Support.

Settings

No Default

Enter additional instrumentation options.

  • Add an additional option by clicking the Add empty row button and entering the option.

  • Add or update multiple options by clicking the Add/edit multiple rows button and entering one additional option per line in the Add/edit multiple rows dialog box. Leading and trailing spaces are trimmed, and empty lines are ignored.

To delete an option, select the corresponding row and click the Remove selected button .

Version History

Introduced in R2023b