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
2019-11-23
MATLAB does not know how to create C / C++ code to scan I2C busses.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!