image thumbnail


version (32.5 KB) by Stefan Heesch
I2CBridgeTest - A demo for using the I2C Bus in Simulink


Updated 15 Jan 2016

View License

This is a small demo project for accessing the I2C bus from a Simulink Model. A singleton class is defined that acts as a proxy for the hardware. It provide three methods for switching on / off an actor and reading the temperature over the I2C bus. As hardware a small I2C to OneWire Bridge with an attached DS1820 temperature sensor is used. The I2C Bridge is described on GitHub:

Cite As

Stefan Heesch (2021). I2CBridgeTest (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!