From Introduction to Simulink with Engineering Applications

Overview

This chapter is an introduction to the Sinks library. This is the thirteenth library in the Simulink group of libraries and consists of three sub-libraries, the Model & Subsystem Outputs Sub-Library, the Data Viewers Sub-Library, and the Simulation Control Sub-Library blocks shown below. We will describe the function of each block included in this library and we will perform simulation examples to illustrate their application.

14.1 Models and Subsystems Outputs Sub-Library

The Models and Subsystems Outputs Sub-Library contains the blocks described in Subsections 14.1.1 through 14.1.4 below.

14.1.1 The Outport Block

The Outport block creates an external output or an output port for a subsystem. This block is described in Section 2.1, Chapter 2, Page 2 2.

14.1.2 The Terminator Block

The Terminator block can be used to cap blocks whose output ports are not connected to other blocks. If we run a simulation with blocks having unconnected output ports, Simulink issues warning messages. We use Terminator blocks to cap those blocks to avoid warning messages. This block is described in Section 2.3, Chapter 2, Page 2 5.

14.1.3 The To File Block

The To File block writes its input to a matrix in a MAT-file. The block writes one column for each time step: the first row is the simulation time; the remainder of the column is the input data, one data point for each element in the input vector.

Example 14.1

Let us consider matrix C defined as


where the elements of...

Copyright Orchard Publications 2006 under license agreement with Books24x7

Products & Services
Programmable Logic Controllers (PLC)
Programmable logic controllers (PLC) are the control hubs for a wide variety of automated systems and processes. They use a wide variety of inputs and outputs and provide network capability.
Terminal Blocks
Terminal blocks are modular, insulated blocks that secure two or more wires together. Terminal blocks consist of an insulating body and a clamping device. Their flexibility allows wiring to be centralized and makes it easier to maintain complex control circuits.
PCB Terminal Blocks
PCB terminal blocks are modular, insulated devices that mount on printed circuit boards (PCBs) and secure two or more wires together. Some have integral pin terminals and mount through holes in the board. Others plug into PCB-mounted pin strips.
Glass Blocks
Glass blocks or bricks are architectural products that allow light to pass through, while also providing a level of privacy or obscuration.
Signal Conditioners
Signal conditioners provide amplification, filtering, converting, and other processes required to make sensor output suitable for reading by computer boards.

Topics of Interest

Overview This chapter is an introduction to the Sources library. This is the fourteenth library in the Simulink group of libraries and consists of two sub-libraries, the Model & Subsystem Inputs...

Overview This chapter is an introduction to the Sinks library. This is the thirteenth library in the Simulink group of libraries and consists of three sub-libraries, the Model & Subsystem Outputs...

Overview This chapter is an introduction to the Sources library. This is the fourteenth library in the Simulink group of libraries and consists of two sub-libraries, the Model & Subsystem Inputs...

Overview This chapter is an introduction to the Ports & Subsystems library. This is the tenth library in the Simulink group of libraries and contains the blocks shown below. All nonvirtual...

Overview This chapter is an introduction to the Ports & Subsystems library. This is the tenth library in the Simulink group of libraries and contains the blocks shown below. All nonvirtual...