LabKit MATLAB Workbench

reference

API ReferenceImage API

labkit.image.version

Return the LabKit image facade contract version.

Syntax

info = labkit.image.version()

Description

Reports the semantic version and compatibility range of the public labkit.image API. Apps can use this structure to check whether the installed image facade satisfies a saved or declared requirement.

Inputs

None.

Outputs

info
Scalar structure returned by labkit.contract.versionInfo with name, facade, current, compatible, status, and notes fields.

Failure Behavior

The function accepts no caller input. Invalid embedded facade metadata raises labkit:contract:InvalidVersionInfo; released metadata is validated by the contract test suite.

Example

info = labkit.image.version();
currentVersion = info.current;

Source

This page is generated from the MATLAB help text in +labkit/+image/version.m.