Introduction to Simulink with Engineering Applications

Chapter 11: The Ports & Subsystems Library

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 subsystems, defined in Section 11.17, are shown with a bold border. We will describe the function of each block included in this library and we will perform simulation examples to illustrate their application.

11.1 The Inport, Outport, and Subsystem Blocks

Inport blocks are ports that serve as links from outside a system into the system. Outport blocks are output ports for a subsystem. A Subsystem block represents a subsystem of the system that contains it. These blocks are described in Section 2.1, Chapter 2, Page 2 2.

11.2 The Trigger Block

The Trigger block is used with a subsystem or a model to allow its execution only when triggered by an external signal provided by the Trigger block. We can configure this block to enable a change in the value of the external signal to trigger execution of a subsystem once on each integration step when the value of the signal that passes through the trigger port changes in a specifiable way. We can also configure the Trigger block to accept a function-call trigger. This allows a Function-Call Generator block or S-function [1] to trigger execution of a subsystem or model multiple times during a time step. A subsystem or model can contain only one Trigger block. Examples are presented in Sections 11.9 and...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Ultrasonic Proximity Sensors
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.