Skip to Main Content Skip to Search
Product Documentation

addArtifact - Add artifact to test results object

Syntax

addArtifact(obj, name, filepath)

Description

addArtifact(obj, name, filepath) adds an artifact to the test results object obj using the string name, representing a user-customizable display name, and the string filepath, representing the full file path to the artifact.

This function is a convenience for adding additional artifacts to the Artifacts property of the test results object obj.

Artifacts can be any document or report associated with a test results object. By associating artifacts with a test results object, hyperlinks are automatically provided to access the artifacts when the test results object is displayed at the MATLAB command line.

This is function of the systest.testresults class, which is the class definition for a test results object, allowing you to access test results from MATLAB. For more information on the test results object, see Accessing Test Results from the MATLAB Command Line.

How To

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS