This is an example of a band pass filter. This example contains an algebraic loop, and therefore will not execute in Simulink.
We import the model with the following command. We need to specify the name of the model to import, as well as a MATLAB® script that initializes the variable names.
Warning: Block diagram 'temp_filterb' contains 1 algebraic loop(s). To see more details about the loops use the command line Simulink debugger by typing "sldebug temp_filterb" in the MATLAB command window. To eliminate this message, set the Algebraic loop option in the Diagnostics page of the Simulation Parameters Dialog to "None".
> In calsignal at 35
In startrep at 127
Found algebraic loop containing:
'temp_filterb/Sum1' (algebraic variable)
Using the PrintSummary command, we can view the model that we have imported.
We can now simplify the model to reduce the number of equations.