.

Proportional Selector

Overview

Overview

The Selector block  proportionally selects two inputs and outputs this selection.  This block implements the following equation to proportionally select the two inputs:

Output =  Selector * Input1 + (1-Selector) * Input0  

The configuration values  for this block are as follows:

 

Subsample Code

A code which determines the schedule for updating this block (every sample, even samples only, etc.) See Subsampling.


Matlab/Simulink

Simulink Interface

Proportional Selector Parameters Dialog Box

This block has three inputs Input 0, Input 1 and Selector.  The block implements the equation defined in the Overview.  

The block has two user data fields (User Data 0, User Data 1) to store application-specific data for convenient storage and retrieval. See User Data Storage for details.

The block's update schedule is determined by the Subsample Code (See Subsampling). The following Parameter Dialog Box can be opened by double-clicking on the block in a Simulink Model:

Proportional Selector Simulink Block

C++ API

SELECTORBlock

Declaration

Public Method

 
SELECTORBlock&   SELECTOR ();
 

Required Header: mechaware.h

Description

The Selector block computes the proportional selection of two inputs. This block has no configurable parameters.

Methods

Block Methods

See Also

Switch (on Input) | Manual Switch

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2012 Motion Engineering