displayImage
Display an image on the Raspberry Pi hardware or on the LED Matrix of SenseHAT
Add-On Required: This feature requires the MATLAB Support Package for Raspberry Pi Hardware add-on.
Syntax
Description
For Raspberry Pi:
displayImage (
displays the specified image with a window title on the
Raspberry Pi
hardware. During simulation, this function displays the image on the
computer.mypi
,img
,Name,Value
) %Raspberry Pi
For SenseHAT:
displayImage (
displays an image of 8 * 8 * 3 dimension on the LED Matrix of SenseHAT with the specified orientation. The
supported values for orientation are: 0, 90, 180, and 270 degrees.mysh
,img
,orientation
) %SenseHAT
The following image shows the orientations of the LED Matrix.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2016b
See Also
raspi
| sensehat
| readHumidity
| readPressure
| readTemperature
| readAngularVelocity
| readAcceleration
| readMagneticField
| writePixel
| displayMessage
| clearLEDMatrix
| readJoystick