sendCommand
R2026bSend message to Arduino device from MATLAB
Syntax
Description
Add-On Required: This feature requires the MATLAB Support Package for Arduino Hardware add-on.
[
sends a command to the Command Handler implemented by your custom Arduino library. dataOut,payloadSize]
= sendCommand(arduinoObj,libName,commandID,dataIn)
[
sends a command to the Command Handler implemented by your custom Arduino 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