These are the Matlab scripts and functions which where used to produce the simulations in the manuscript [1]. In particular, the two Matlab scripts "producePlotExample1.m" and "producePlotExample2.m" produce the corresponding plots for the first and second examples in the manuscript. The implementations of Algorithm 1 and 2 from the manuscript are not optimized for large scale problems and are not meant to be "ready to use" for real world application, but form the possible starting point for a more sophisticated implementation of the algorithms. [1] S. Hossain and S. Trenn (2025): Model reduction for switched differential-algebraic equations with known switching signal. DAE-Panel. To appear.