Matlab Coder, Compiler can't find "tmwtypes.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?
1 件のコメント
A.H.T.Eranga De Silva
2021 年 1 月 14 日
Did you check the PacknGo feature in the Matlab coder?
Unless, do experience it please. I think that will solve your problem.
The PacknGo feature creates a folder containing all in one. Then try creating the project inside the PacknGo created folder.
採用された回答
その他の回答 (4 件)
may miao
2020 年 1 月 9 日
2 投票
If anybody had problem in matlab:
c:\program files\matlab\r2019a\extern\include\matrix.h(683): fatal error C1083: Cannot open include file: “tmwtypes.h”: No such file or directory.
You can solve it in this way:
Find the matrix.h, row 683,change “ include<tmwtypes.h> into "include“tmwtypes.h”".
1 件のコメント
YiFan Huang
2020 年 5 月 2 日
Thank you very much!
xingxingcui
2019 年 10 月 12 日
編集済み: DGM
2024 年 5 月 11 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!