Download Stateflow User's Guide
Transcript
Defining Data right. A negative integer entry moves the binary point further right of the rightmost bit by that amount. Only integers can be entered (see note below). Scaling. Select this value to interpret the entry in the right adjacent field as scaling with separate slope and bias entered in [Slope Bias] format (can be entered with or without brackets []). For example, the entry [2 3] sets the slope to 2 and the bias to 3. You can also enter the slope or bias as an arithmetic expression, for example, [1.2*2^-2 3.4]. If you enter a single value, it is interpreted as the slope. The value entered for the slope can be any positive real number. The value for the bias can be any real number. See following note. Note Values entered for Fraction length or Scaling that exceed the ranges specified in the previous sections are flagged immediately with red text. Port Index of the port associated with this data item (see “Associating Ports with Data” on page 6-27). This control applies only to input and output data. Units Units, for example, inches, centimeters, and so on, represented by this data item. The value of this field is stored with the item in the Stateflow machine’s data dictionary. Array All data that you add is scalar in the specified Type (see preceding) by default. If you select the Array check box, this data item is an array. However, the Scope value that you assign this data limits the kind of array this data can be. See the following Sizes property. When you select the Array check box, the Sizes and First Index fields are enabled in the Data dialog. Sizes. Size of this array. The value of this property can be a scalar or a MATLAB vector. If it is a scalar (for example, 5), it specifies the size of a one-dimensional array (that is, a vector). If it is a MATLAB vector (for example, '[2 3 7]'), it indicates the size of each dimension of a multidimensional array whose number of dimensions corresponds to the length of the vector. 6-21
Related documents
Stateflow User's Guide
Getting Started with CX-Server OPC
OMRON User Manual
Pastose Beizpaste PAte de d6capage Betpasta i gel6form
TP2: Implementação de Relógio digital em fluxo de estados
SimDiff 4 User Manual
Matlab LinCon-8000 User Manual Version 1.0
QUICK START MANUAL
INSTITUT F¨UR INFORMATIK CASE Tools for Embedded Systems