padv.Artifact
Store artifact information
Description
This object requires CI/CD Automation for Simulink Check. A padv.Artifact
object represents an artifact that
you can run a task on in the process defined in your process model. For example, you can use a
padv.Artifact
object as the input to functions like
runprocess
and generateProcessTasks
when you only
want to run or generate tasks associated with a specific artifact.
Creation
Syntax
Description
stores artifact information in a artifactObject
= padv.Artifact(artifactType
,artifactAddress
)padv.Artifact
object,
artifactObject
. You can use the artifact information when you want
to get the ID for a specific task iteration.
sets certain properties using one or more name-value arguments. You can use name-value
arguments to specify the artifactObject
= padv.Artifact(___,Name=Value
)Alias
and Parent
properties. The object has other properties, but you cannot set those properties during
object creation.
Input Arguments
Properties
Object Functions
Object Function | Description |
---|---|
close | Close artifact and remove artifact from
cache.close(artifactObj) load object
function. |
getTypes | Get artifact type. TYPES = getTypes(artifactObj) |
getKey | Get unique key for artifact. A key is a unique address for a file. KEY = getKey(artifactObj) |
hasType | Check if artifact has type. TYPE = hasType(artifactObj) |
load | Load artifact into
cache.RESULT = load(artifactObj) load function loads only partial data from test
results set files (.mldatx ). To load the full results sets into the
cache, you can specify PartialLoad as
false .RESULT = load(artifactObj,PartialLoad=false) close object
function. |