Function 'scanI2CBus' is not supported for code generation.
2 ビュー (過去 30 日間)
古いコメントを表示
I have a Simulink model, and from the Simulink model I am trying to call functions such as "scanI2CBus" in order to get data from the Arduino I have connected. However, when I do this, it throws the error "Function 'scanI2CBus' is not supported for code generation." What does this mean? How could I call a MATLAB function like 'scanI2CBus' from my Simulink model?
1 件のコメント
Walter Roberson
2019 年 11 月 23 日
MATLAB does not know how to create C / C++ code to scan I2C busses.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!