Function 'scanI2CBus' is not supported for code generation.

1 view (last 30 days)
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?

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!