padv.util.ArtifactAddress
Address for artifact in project
Description
Use the padv.util.ArtifactAddress
object to represent the
address of an artifact in your project.
Creation
Syntax
Description
creates an artifact address by using the file path specified by
addressObj
= padv.util.ArtifactAddress(filePath
)filePath
. You can access information inside the artifact address
object by using the object functions listed below.
This functionality requires CI/CD Automation for Simulink Check.
creates an artifact address using the settings specified by one or more name-value
arguments. For example, to create an artifact address that specifies the name of the
project that contains the artifact, specify
addressObj
= padv.util.ArtifactAddress(___,Name=Value
)OwningProjectName=
.projectName
Input Arguments
Object Functions
Function | Description |
---|---|
getFileAddress | Get address of file on disk. getFileAddress(addressObj) |
getKey | Get unique address of artifact. getKey(addressObj) |
getOwningProject | Get name of project that contains the artifact. getOwningProject(addressObj) |
getAbsolutePath | Get the absolute path of the artifact. getAbsolutePath(addressObj) |
isFileArtifact | Determine if input is file. isFileArtifact(addressObj) |
isSubFileArtifact | Determine if input is subfile. A subfile is a part of a larger file. For example, a subsystem is a subfile of a model file.
isSubFileArtifact(addressObj) |