Table of Contents
quanser.hardware.hil.close_all
Closes all open HIL devices.
err = quanser.hardware.hil.close_all
Closes all the HIL devices that have been opened using the quanser.hardware.hil.open function. This function is useful for closing HIL devices when their board handles have been cleared accidentally from the MATLAB workspace.
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.
This function has no parameters.
err
A negative error code or zero on success.
quanser.hardware.hil.close_all; % Close all boards
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.