Hi Madison,
I understand that you are trying to control a digital RGB led strip based on the input from switches using the Arduino UNO. MATLAB has an Add-On Library for Arduino to control NeoPixel RGB LED strips.
It can be found in the link below:
If you are looking references and examples, then the following should help: