hil_is_valid End of trail navigation bar

Table of Contents

hil_get_version

Deprecated

The HIL API MATLAB functions have been deprecated in favour of the new quanser.hardware.hil class, which has support for code generation for Quanser targets. Hence, with the new hil class it is possible to run MATLAB scripts in real-time on Quanser targets, while making use of the Quanser hardware.

Gets the Quanser HIL API version.

Syntax

[v, err] = 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 = hil_get_version;
    

See Also

 

navigation bar