S-Function: Which compiler to install? (Matlab: Running on Windows), Raspberry Pi: Raspbian

Hi áll, I want to make a Driver-Block in Simulink for the Temp/Hum Sensor DHT22 with the one-wire protocol. Aim:Standalone Temp Logging on Raspberry Pi
Problems starting already at the Compiler: Which Compiler do I have to install to Support Raspbian-OS?
(Till here I get the error in matlab, when using "mex -setup":
Error using mex
No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install
MinGW-w64 Compiler. For more options, visit http://www.mathworks.com/support/compilers/R2016a/win64.html.
(I'm running Matlab 2016a HomeEdition on Windows 7 pro, x64)
The recommended Compiler in the error Message is to my opinion the wrong one, because it is a Windows Compiler ... Thank you, regards daniel

 Accepted Answer

The Windows compiler is needed to generate code that is used to create the final code.

1 Comment

Thank you, I installed the mingw Compiler and now I can proceed

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Products

Asked:

on 3 May 2016

Edited:

on 4 May 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!