Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I like to use IC MCP3008 to change analogue signal to digital signal for Raspberry Pi interface with Matlab Simulink. But I getting the error missing file wiringPi.h and wiringPi.c. May I know how can I add the wiringPi in the Matlab directory?
Is wiringPi installed by default in the distribution you are using?
I'm not sure if it is currently pre-installed with Raspbian.
If you are using Raspbian (or another Debian based distribution) try the following command.
sudo apt-get install wiringpi
Required, but never shown