In this Arduino®project, MATLAB®is used to solve a Rubik’s Cube by reading images from a webcam and controlling servo motors through an Arduino device. This is an example of how you can connect MATLAB to different types of hardware devices and control them to solve a problem. You can use MATLAB Support Package for Arduino Hardware to control the Arduino, and you can use MATLAB Support Package for USB Webcams to control the webcam.
Featured Product
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.