Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Control Design   

Creating or Opening a Simulink Model

To begin linearization using functions, you must first create or open a Simulink model of your system. The model can have any number of inputs and outputs (including none) and any number of states. The model can include user-defined blocks or S-functions. Your model can involve a plant only, a plant with a feedback loop and controller, or any number of subsystems.

To continue with the water-tank example, type

watertank

at the MATLAB prompt. This opens a Simulink model containing the water-tank system as shown in this figure.

Simulink Model of the Water-Tank System

The watertank model consists of

Double-click a block to view its contents. The Water-Tank System block is shown in this figure.

Water-Tank System Block

The input to the Water-Tank System block, which is also the output of the PID Controller block, is the voltage, V. The output is the height of water, H. The system contains just one state (within the integrator), H. Values of the parameters are given as a=2 cm2.5/s, A=20 cm2, b=5 cm3/(s·V).

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS