Function 'scanI2CBus' is not supported for code generation.

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
Walter Roberson 2019 年 11 月 23 日
MATLAB does not know how to create C / C++ code to scan I2C busses.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeArduino Hardware についてさらに検索

製品

リリース

R2019b

質問済み:

2019 年 11 月 22 日

コメント済み:

2019 年 11 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by