Table of Contents
quanser.hardware.hil.close
Close the specified HIL device.
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.
err = board.close
Closes the specified HIL device that was opened using the quanser.hardware.hil.open function.
board
The board instance returned by the quanser.hardware.hil.open function.
err
A negative error code or zero on success.
board = quanser.hardware.hil.open('q8'); % Opens the first Q8 board in the system (Q8 board #0). ... board.close; % Close the board to release resources
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.