Main Content
matlab.automation.diagnostics.FileArtifact Class
Namespace: matlab.automation.diagnostics
Artifact associated with a file on disk
Renamed from matlab.unittest.diagnostics.FileArtifact
in R2023a
Description
Use the FileArtifact
class to refer to files on disk and to copy the
files to a new location. The automation framework instantiates this class, so you are
not required to create an object of the class directly.
Construction
artifact = matlab.automation.diagnostics.FileArtifact(
creates an artifact associated with a particular file on disk.filename
)
Input Arguments
Properties
Methods
copyTo | Copy artifacts to new location |
Copy Semantics
Handle. To learn how handle classes affect copy operations, see Copying Objects.