Main Content

getVersion

Get MATLAB, support package, and Speedgoat I/O Blockset version information

Since R2023a

Description

version_info = getVersion(target_object) returns the MATLAB version and release, support package version, and Speedgoat I/O Blockset version present on the MATLAB® development computer and the Speedgoat® target computer. The version information is returned as a structure.

example

Examples

collapse all

Get the MATLAB version and release, support package version, and Speedgoat I/O Blockset version present on the development computer and target computer.

version_info = getVersion(tg)
version_info =

  struct with fields:

        MatlabVersion: "R2023a"
    MatlabDescription: "Prerelease"
              Release: "9.14.0.xxxx"
    SupportPkgVersion: '22.1.0'
     SpeedgoatRelease: [Speedgoat I/O Blockset v9.4.0.3 build 26200]
           LibraryVer: []

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Output Arguments

collapse all

Version information, specified as a structure. The structure provides information on the MATLAB version, support package version, and Speedgoat I/O Blockset version present on the development computer and target computer.

Version History

Introduced in R2023a