MATLAB: Matlab Coder, Compiler can’t find “tmwtypes.h”

arduinomaltab codertmwtypes.h

Hello, I got Matlab Code from the Neural Net Pattern Recognition Toolbox and I tried to generate C++ Code with the Matlab Coder. But when I select Static Library or Source Code, Atmel AVR(8-bit) as Device (for Arduino) and the Arduino AVR toolchain the Arduino IDE always returns:
sketch\generated_code\interface\_coder_NeuralNetwork_api.c:12:22: fatal error: tmwtypes.h: No such file or directory
#include "tmwtypes.h"
Why didn't the Matlab Coder create that Library?

Best Answer

Problem solved.
Just use the Windows search, look for the filename on your HDD and copy it to your project folder!