You can deploy showLED on the Raspberry Pi hardware in MATLAB
Online™.
To generate C/C++ code for this function, you must have an Embedded Coder license. For more information on selecting the right
product stack according to your development goals, see Product Stack for Raspberry Pi Blockset.