Start of trail quanser.hardware.hil.open navigation bar

Table of Contents

quanser.hardware.hil.get_version

Gets the Quanser HIL API version.

Syntax

[v, err] = quanser.hardware.hil.get_version
    

Description

Returns a structure containing version information about the Quanser HIL API.

If no err output is provided then it throws an exception if an error occurs. In generated code it prints the error message. Use hil_get_error_message to get the message associated with an error code.

Parameters

This function has no parameters.

Outputs

v

A structure containing the major, minor, release and build numbers.

err

A negative error code or zero on success.

Examples

v = quanser.hardware.hil.get_version;
    

See Also

 

navigation bar