digitalthread.uri.simulinktest.toObject
R2026bSyntax
Description
returns the Simulink®
Test™ object identified by the digital thread URI and loads the associated test
file.testObj = digitalthread.uri.simulinktest.toObject(storageMap,testURI)
A digital thread URI is a stable identifier for an artifact, such as a test file, or an artifact within that file, such as a test iteration. The digital thread uses these URIs as a consistent way to refer to artifacts across tools and inside metric results.
Use this function to retrieve the Simulink Test object identified by the digital thread URI. You can then work directly with that object.
You might already have a digital thread URI of interest from your metric results. If
not, you can get the digital thread URI from a specific Simulink
Test object by using the other functions in the
digitalthread.uri.simulinktest namespace, such as digitalthread.uri.simulinktest.fromObject.
returns the Simulink
Test object without loading the test file.testObj = digitalthread.uri.simulinktest.toObject(___,Load=false)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2026b