.. _channel_selection_changed: Channel Selection Changed ================================ If you are using Simulink library files to manage different components of your software, then you may encounter instances where the channel selection in OpenECU I/O blocks changes. The OpenECU blocks initialize when a model is loaded to display I/O channels for the selected target. The initialization code identifies the target by searching the model for a **Model Identification** block. - If the block is found, the target is identified, and the I/O options are narrowed to that specific target. - If not, the target is undetermined, and all I/O options are displayed. There are two ways to mitigate this: 1. Keep as many OpenECU blocks in the master model as possible, limiting library models to Simulink blocks. 2. Include a **Model Identification** block at the top level of each library model, configured with the master model's target. **Notes**: - Channel selection usually defaults to the first option, possibly causing duplication errors. - Channel options may also change when switching target ECUs or upgrading OpenECU versions. MATLAB usually prints a warning.