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?

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink Functions 的更多信息

产品

版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by