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?

Answers (0)

Categories

Products

Release

R2019b

Asked:

on 22 Nov 2019

Commented:

on 23 Nov 2019

Community Treasure Hunt

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

Start Hunting!