Start of trail hil_get_version navigation bar

Table of Contents

hil_is_valid

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.

Indicates whether the given board handle represents a valid open board.

Syntax

valid = hil_is_valid(board)
    

Description

Returns true (1) if the board handle represents a valid open board. Otherwise it returns false (0).

Parameters

board_handle

The board handle returned by the hil_open function.

Outputs

valid

A logical value indicating whether the given board is a valid open board.

Examples

valid = hil_is_valid(board);
    

See Also

 

navigation bar