polyspace.project.VariableStub Class
Namespace: polyspace.project
(Python) Create and update project-specific stub for undefined variable
Since R2026a
Description
Create a project-specific stub for an undefined variable in the Polyspace® Platform project.
Creation
Syntax
Description
varStub = proj.VariableStubs.create( creates a stub for the variable variableToStub)variableToStub in a polyspace.project.Project object proj. The stub name is the name of the original variable.
varStub = proj.VariableStubs.create( creates a stub for variable variableToStub, PropertyName=Value)variableToStub and assigns one or more of its properties during creation.
varStub = proj.VariableStubs.createFrom(
creates a new variable stub in the existingVariableStubObj)polyspace.project.Project object proj by copying an existing
variable stub object from another project.
Input Arguments
Properties
Examples
Version History
Introduced in R2026a