sendCommand
Send message to Arduino device from MATLAB
Add-On Required: This feature requires the MATLAB Support Package for Arduino Hardware add-on.
Syntax
Description
[
sends a command to the Command Handler implemented by your add-on library. dataOut,payloadSize]
= sendCommand(arduinoObj,libName,commandID,dataIn)
[
sends a command to the Command Handler implemented by your add-on library with a
user-specified acknowledgment timeout.dataOut,payloadSize]
= sendCommand(arduinoObj,libName,commandID,dataIn,timeout)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015b