Use Simulink to Model a system and then simulate the dynamic behavior of this system.
1 Open
in Command Window, type simulink, open Simulink Library Browser
2 Create Model
File, New, Model, and then save it.
3 ADD Blocks
Add following blocks from Simulink Library Brower (Ctrl + I)
Sine wave-generates an input signal for the model
Integrator-processes the input signal
Bus Creator-combines the input signal and processed signal into one signal
Scope-visualizes the signals
4 Connection
connect them with lines, Ctrl + click is useful while connecting widely separated blocks or when working with complex models
5 Simulation Parameters
Simulation Model Configuration Parameters, then Solver, Stop time, Solver-max step size (0.2)
6 Run and observe
Simulation, Run, a FTE Simulation We can view results by double-click the Scope block.
In Scope toolbar, click Parameters button . Select the Style tab and edit figure parameters properties.
MATLAB's simple model of Simulink