This article explains how to write/read registers from an external fieldbus in Simulink.

Tags: CAN, Battery Interface, Fieldbus, Simulink, Modbus, EtherCAT