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