| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Chapter 14 Preparing Models for | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expression Evaluation | |
| ASSIGNIN | Assign variable in workspace. |
| EVALIN | Evaluate expression in workspace. |
| Model Construction/Modification | |
| ADD_BLOCK | Add a block to a Simulink system. |
| ADD_LINE | Add a line to a Simulink system. |
| ADD_PARAM | Add a parameter to a Simulink system. |
| DELETE_BLOCK | Delete a block from a Simulink system. |
| DELETE_LINE | Delete a line from a Simulink system. |
| DELETE_PARAM | Deletes a parameter from a Simulink system. |
| NEW_SYSTEM | Create a new empty Simulink system. |
| REPLACE_BLOCK | Replace blocks in model. |
| SET_PARAM | Set Simulink system and block parameters. |
Reactis currently supports versions 4.x, 5.x, 6.x and 7.x of Simulink (MathWorks releases R12, R13, R14, R2006a, R2006b, R2007a, R2007b). Most features of Simulink are supported. Some notable exceptions are:
For the subset of Simulink blocks supported by Reactis please refer to section 14.2.2 and below. For blocks that can be either continuous- or discrete-time, only the discrete-time version is supported. Blocks marked by a “*” are not natively supported by Reactis but are available in the Reactis block library.
Reactis supports both C-Coded and M-File S-functions, with some restrictions. For C-Coded S-functions, the following are not supported by Reactis:
For M-File S-functions, the following are not supported by Reactis:
In addition to the above restrictions, care must be taken about any internal
data that is stored by S-functions. In order to work properly,
Reactis must be able to retrieve and reset the values of all internal
states of any S-function occurring within a model. The best way to make
internal states visible to
Reactis (and Simulink) is to declare the appropriate number of discrete
states in the
mdlInitializeSizes() function and then use the state vector that
Reactis and
Simulink will provide. Reactis will also save and restore
memory that an S-function allocates as a result of calling the
ssGetNumRWork() and
ssGetNumIWork() during mdlInitializeSizes.
Reactis has no way of knowing about any other persistent data that an S-function maintains by other means, such as:
Reactis will also not save and restore memory requested by
ssGetNumPWork(), since otherwise pointers stored in this vector by your
S-function might get lost or mangled, resulting in memory leaks or crashes.
If an S-function stores internal states in any of the unsupported ways described above, Reactis will seem to work properly, but the test suites generated by Tester may include wrong outputs. One sign of this can be if you run a test suite in Simulator and get an error message saying “Model fails test”. Another problem of such invalid use of internal states may be invalid outputs after using the “back” buttons in Simulator.
| Sources | |
| Supported: | Constant, Digital Clock, From File, From Workspace, Ground, Inport, Pulse Generator (discrete), Ramp*, Repeating Sequence*, Sine Wave, Step, Signal Generator |
| Unsupported: | Band-Limited White Noise, Chirp Signal, Clock, Random Number, Uniform Random Number |
| Sinks | |
| Supported: | Display, Floating Scope, Outport, Scope, Terminator |
| Unsupported: | Stop Simulation, To File, To Workspace, XY Graph |
| Continuous | |
| Supported: | Memory (if 'Inherit sample time' parameter is checked) |
| Unsupported: | Derivative, Integrator, State-Space, Transfer Fcn, Transport Delay, Variable Transport Delay, Zero-Pole |
| Discrete | |
| Supported: | Discrete Filter, Discrete State-Space, Discrete-Time Integrator, Discrete Transfer Fcn, Discrete Zero-Pole, Unit Delay, Zero-Order Hold |
| Unsupported: | First-Order Hold |
| Math | |
| Supported: | Abs, Bitwise Logical Operator, Combinatorial Logic, Dot Product, Gain, Logical Operator, Math Function, Matrix Gain, MinMax, Product, Relational Operator, Rounding Function, Sign, Slider Gain, Sum, Trigonometric Function |
| Unsupported: | Algebraic Constraint, Complex to Magnitude-Angle, Complex to Real-Imag, Magnitude-Angle to Complex, Real-Imag to Complex |
| Functions & Tables | |
| Supported: | Direct Lookup Table, Fcn, Interpolation (n-D) using Prelookup, Lookup Table, Lookup Table (2-D), Lookup Table (n-D), Polynomial, PreLookup Index Search, S-function (partial), S-function Builder (partial) |
| Unsupported: | Matlab Fcn |
| Nonlinear | |
| Supported: | Backlash, Coulomb & Viscous Friction, Dead Zone, Multiport Switch, Quantizer, Relay, Saturation, Switch |
| Unsupported: | Manual Switch, Rate Limiter |
| Signals & Systems | |
| Supported: | Assignment, Bus Creator, Bus Selector, Data Store Memory, Data Store Read, Data Store Write, Data Type Conversion, Demux, From, Function-Call Generator, Goto, Goto Tag Visibility, Hit Crossing, IC, Matrix Concatenation, Merge, Mux, Probe, Reshape, Selector, Signal Specification, Width |
| Unsupported: | Model Info |
| Subsystems | |
| Supported: | Atomic Subsystem, Configurable Subsystem, Enabled Subsystem, Enabled and Triggered Subsystem, For Iterator Subsystem, Function-Call Subsystem, If Action Subsystem, Subsystem, Switch Case Action Subsystem, Triggered Subsystem, While Iterator Subsystem |
| Unsupported: | |
| Sources | |
| Supported: | Constant, Digital Clock, From File, From Workspace, Ground, Inport, Pulse Generator (sample based), Ramp*, Repeating Sequence*, Signal Builder (discrete sample time), Signal Generator, Sine Wave, Step |
| Unsupported: | Band-Limited White Noise, Chirp Signal, Clock, Random Number, Pulse Generator (time based), Uniform Random Number |
| Sinks | |
| Supported: | Display, Floating Scope, Outport, Scope, Terminator |
| Unsupported: | Stop Simulation, To File, To Workspace, XY Graph |
| Continuous | |
| Supported: | |
| Unsupported: | Derivative, Integrator, State-Space, Transfer Fcn, Transport Delay, Variable Transport Delay, Zero-Pole |
| Discrete | |
| Supported: | Discrete Filter, Discrete State-Space, Discrete-Time Integrator, Discrete Transfer Fcn, Discrete Zero-Pole, Memory (if 'Inherit sample time' parameter is checked), Unit Delay, Zero-Order Hold |
| Unsupported: | First-Order Hold |
| Math Operations | |
| Supported: | Abs, Assignment, Bitwise Logical Operator, Combinatorial Logic, Dot Product, Gain, Logical Operator, Math Function, Matrix Concatenation, Matrix Gain, MinMax, Polynomial, Product, Relational Operator, Reshape, Rounding Function, Sign, Slider Gain, Sum, Trigonometric Function |
| Unsupported: | Algebraic Constraint, Complex to Magnitude-Angle, Complex to Real-Imag, Magnitude-Angle to Complex, Real-Imag to Complex |
| Signal Routing | |
| Supported: | Bus Creator, Bus Selector, Data Store Memory, Data Store Read, Data Store Write, Demux, From, Goto, Goto Tag Visibility, Multiport Switch, Mux, Switch |
| Unsupported: | Manual Switch |
| Signal Attributes | |
| Supported: | Data Type Conversion, IC, Probe, Signal Specification, Width, Rate Transition |
| Unsupported: | |
| Discontinuities | |
| Supported: | Backlash, Coulomb & Viscous Friction, Dead Zone Hit Crossing, Quantizer, Relay, Saturation |
| Unsupported: | Rate Limiter |
| Lookup Tables | |
| Supported: | Direct Lookup Table, Interpolation (n-D) using PreLookup, Lookup Table, Lookup Table (2-D), Lookup Table (n-D), Prelookup Index Search |
| Unsupported: | |
| User-Defined Functions | |
| Supported: | Fcn, S-function (partial), S-function Builder (partial) |
| Unsupported: | MATLAB Fcn |
| Model Verification | |
| Supported: | |
| Unsupported: | Check Static Lower Bound, Check Static Upper Bound, Check Static Range, Check Static Gap, Check Dynamic Lower Bound, Check Dynamic Upper Bound, Check Dynamic Range, Check Dynamic Gap, Assertion, Check Discrete Gradient, Check Input Resolution |
| Ports & Subsystems | |
| Supported: | Atomic Subsystem, Configurable Subsystem, Enable Port, Enabled Subsystem, Enabled and Triggered Subsystem, For Iterator Subsystem, Function-Call Generator, Function-Call Subsystem, If Action Subsystem, Inport, Outport, Subsystem, Switch Case Action Subsystem, Triggered Subsystem, Trigger Port, While Iterator Subsystem |
| Unsupported: | |
| Model-Wide Utilities | |
| Supported: | |
| Unsupported: | DOC, Model Info, Time-Based Linearization, Trigger-Based Linearization |
| Fixpoint: Data Type Conversion & Propagation | |
| Supported: | Conversion, Conversion Inherited, Data Type Propagation, Data Type Duplicate, Gateway In, Gateway Out, Scaling Strip |
| Unsupported: | |
| Fixpoint: Delays & Holds | |
| Supported: | Unit Delay, Unit Delay External IC, Unit Delay Resettable, Unit Delay Resettable External IC, Unit Delay Enabled, Unit Delay Enabled Resettable, Unit Delay Enabled External IC, Unit Delay Enabled Resettable External IC, Unit Delay With Preview Resettable, Unit Delay With Preview Resettable External RV, Unit Delay With Preview Enabled, Unit Delay With Previes Enabled Resettable, Unit Delay With Preview Enabled Resettable External RV, Zero-Order Hold, Tapped Delay, Integer Delay |
| Unsupported: | |
| Fixpoint: Logic & Comparison | |
| Supported: | Logical Operator, Relational Operator, Compare To Zero, Compare To Constant, Interval Test, Interval Test Dynamic |
| Unsupported: | |
| Fixpoint: Select | |
| Supported: | Switch, MultiPort Switch, Index Vector |
| Unsupported: | |
| Fixpoint: Math | |
| Supported: | Sum, Add, Subtract, Sum of Elements, Sum of Elements Negated, Product, Multiply, Divide, Product of Elements, Product of Elements Inverted, Multiply Matrix, Gain, Matrix Gain, Dot Product, Unary Minus, Abs, Increment Real World, Decrement Real World, Increment Stored Integer, Decrement Stored Integer, Decrement To Zero, Decrement Time To Zero, MinMaz, MinMax Running Resettable |
| Unsupported: | |
| Fixpoint: Sources | |
| Supported: | Constant, Repeating Sequence Stair, Repeating Sequence Interpolated, Counter Free, Counter Limited |
| Unsupported: | |
| Fixpoint: Filters | |
| Supported: | Filter First Order, Filter Lead or Lag, Filter Real Zero, State-Space |
| Unsupported: | Filter Direct Form I, Filter Direct Form I Time Varying, Filter Direct Form II, Filter Direct Form II Time Varying, FIR |
| Fixpoint: Nonlinear | |
| Supported: | Saturation, Saturation Dynamic, Dead Zone, Dead Zone Dynamic, Rate Limiter, Rate Limiter Dynamic, Relay, Sign, Wrap To Zero |
| Unsupported: | |
| Fixpoint: Look-Up Tables | |
| Supported: | Look-Up Table, Look-Up Table (2-D), Sine, Cosine, Look-Up Table Dynamic |
| Unsupported: | |
| Fixpoint: Calculus | |
| Supported: | Accumulator (all variations), Difference, Derivative, Integrator (all variations), Sample Time Math (all variations) |
| Unsupported: | |
| Fixpoint: Bits | |
| Supported: | Bitwise Operator, Bit Set, Bit Clear, Shift Arithmetic |
| Unsupported: | |
| Fixpoint: Edge Detect | |
| Supported: | Detect Increase, Detect Decrease, Detect Change, Detect Rise Positive, Detect Rise Nonnegative, Detect Fall Negative, Detect Fall Nonpositive |
| Unsupported: | |
| Commonly Used Blocks | |
| Supported: | Bus Creator, Bus Selector, Constant, Data-Type Conversion, Demux, Discrete-Time Integrator, Gain, Ground, Inport, Logical Operator, Mux, Outport, Product, Relational Operator, Saturation, Scope, Subsystem, Sum, Switch, Terminator, Unit Delay |
| Unsupported: | Integrator |
| Continuous | |
| Supported: | |
| Unsupported: | Derivative, Integrator, State-Space, Transfer Fcn, Transport Delay, Variable Transport Delay, Zero-Pole |
| Discontinuities | |
| Supported: | Backlash, Coulomb & Viscous Friction, Dead Zone, Dead Zone Dynamic, Hit Crossing, Quantizer, Rate Limiter Dynamic, Relay, Saturation, Saturation Dynamic, Wrap To Zero |
| Unsupported: | Rate Limiter |
| Discrete | |
| Supported: | Difference, Discrete Derivative, Discrete Filter, Discrete State-Space, Discrete Transfer Fcn, Discrete Zero-Pole, Discrete-Time Integrator, Integer Delay, Memory (if 'Inherit sample time' parameter is checked), Tapped Delay, Transfer Fcn First Order, Transfer Fcn Lead or Lag, Transfer Fcn Real Zero, Unit Delay, Zero-Order Hold |
| Unsupported: | First-Order Hold, Weighted Moving Average |
| Logic and Bit Operations | |
| Supported: | Bit Clear, Bit Set, Bitwise Operator, Combinatorial Logic, Compare To Constant, Compare To Zero, Detect Change, Detect Decrease, Detect Fall Negative, Detect Fall Nonpositive, Detect Increase, Detect Rise Nonnegative, Detect Rise Positive, Extract Bits, Interval Test, Interval Test Dynamic, Logical Operator, Relational Operator, Shift Arithmetic |
| Unsupported: | |
| Lookup Tables | |
| Supported: | Cosine (output formula cos), Direct Lookup Table (n-D), Interpolation using Prelookup, Lookup Table, Lookup Table (2-D), Lookup Table (n-D), Lookup Table Dynamic, Prelookup (Index Search), Sine (output formula sin) |
| Unsupported: | Cosine (output formulas other than cos), Sine (output formulas other than sin) |
| Math Operations | |
| Supported: | Abs, Add, Assignment, Bias, Divide, Dot Product, Gain, Math Function (except Hermitian), Matrix Concatenate, MinMax, MinMax Running Resettable, Polynomial, Product, Product of Elements, Reshape, Rounding Function, Sign, Sine Wave Function (using simulation time), Slider Gain, Subtract, Sum, Sum of Elements, Trigonometric Function, Unary Minus, Weighted Sample Time Math |
| Unsupported: | Algebraic Constraint, Complex to Magnitude-Angle, Complex to Real-Imag, Magnitude-Angle to Complex, Real-Imag to Complex, Math Function (Hermitian), Permute Dimensions, Sine Wave Function (using external time), Vector Concatenate |
| Model Verification | |
| Supported: | |
| Unsupported: | Assertion, Check Discrete Gradient, Check Dynamic Gap, Check Dynamic Lower Bound, Check Dynamic Range, Check Dynamic Upper Bound, Check Input Resolution, Check Static Gap, Check Static Lower Bound, Check Static Range, Check Static Upper Bound |
| Model-Wide Utilities | |
| Supported: | DocBlock, Model Info (Reactis will process models containing these blocks but does not display the information stored in them.) |
| Unsupported: | Time-Based Linearization, Trigger-Based Linearization |
| Ports & Subsystems | |
| Supported: | Atomic Subsystem, Configurable Subsystem, Enable, Enabled Subsystem, Enabled and Triggered Subsystem, For Iterator Subsystem, Function-Call Generator, Function-Call Subsystem, If, If Action Subsystem, Inport, Model, Outport, Subsystem, Switch Case, Switch Case Action Subsystem, Trigger, Triggered Subsystem, While Iterator Subsystem |
| Unsupported: | CodeReuseSubsystem |
| Signal Attributes | |
| Supported: | Data Type Conversion, Data Type Conversion Inherited, Data Type Duplicate, Data Type Propogation, Data Type Scaling Strip, IC, Probe, Rate Transition, Signal Conversion, Signal Specification, Weighted Sample Time, Width |
| Unsupported: | |
| Signal Routing | |
| Supported: | Bus Assignment, Bus Creator, Bus Selector, Data Store Memory, Data Store Read, Data Store Write, Demux, Environment Controller, From, Goto, Goto Tag Visibility, Index Vector, Merge, Multiport Switch, Mux, Selector, Switch |
| Unsupported: | Manual Switch |
| Sinks | |
| Supported: | Display, Floating Scope, Outport, Scope, Terminator |
| Unsupported: | Stop Simulation, To File, To Workspace, XY Graph |
| Sources | |
| Supported: | Constant, Counter Free-Running, Counter Limited, Digital Clock, From File, From Workspace, Ground, Inport, Pulse Generator (sample based), Ramp*, Repeating Sequence*, Repeating Sequence Interpolated, Repeating Sequence Stair, Signal Builder (discrete sample time), Signal Generator, Sine Wave, Step |
| Unsupported: | Band-Limited White Noise, Chirp Signal, Clock, Pulse Generator (time based), Random Number, Uniform Random Number |
| User-Defined Functions | |
| Supported: | Fcn, S-function (partial), S-function Builder (partial) |
| Unsupported: | Embedded MATLAB Function, M-file (level-2) S-Function, MATLAB Fcn |
| Additional Discrete | |
| Supported: | Fixed-Point State-Space, Unit Delay Enabled, Unit Delay Enabled External IC, Unit Delay Enabled Resettable, Unit Delay Enabled Resettable External IC, Unit Delay External IC, Unit Delay Resettable, Unit Delay Resettable External IC, Unit Delay With Preview Enabled, Unit Delay With Preview Enabled Resettable Unit Delay With Preview Resettable External RV, Unit Delay With Preview Resettable, Unit Delay With Previes Enabled Resettable External RV |
| Unsupported: | Transfer Fcn Direct Form II, Transfer FcnDirect Form II Time Varying |
| Additional Math | |
| Supported: | Decrement Real World, Decrement Stored Integer, Decrement Time To Zero, Decrement To Zero, Increment Real World, Increment Stored Integer |
| Unsupported: | |
| Commonly Used Blocks | |
| Supported: | Bus Creator, Bus Selector, Constant, Data-Type Conversion, Demux, Discrete-Time Integrator, Gain, Ground, Inport, Logical Operator, Mux, Outport, Product, Relational Operator, Saturation, Scope, Subsystem, Sum, Switch, Terminator, Unit Delay |
| Unsupported: | Integrator |
| Continuous | |
| Supported: | |
| Unsupported: | Derivative, Integrator, State-Space, Transfer Fcn, Transport Delay, Variable Transport Delay, Zero-Pole |
| Discontinuities | |
| Supported: | Backlash, Coulomb & Viscous Friction, Dead Zone, Dead Zone Dynamic, Hit Crossing, Quantizer, Rate Limiter Dynamic, Relay, Saturation, Saturation Dynamic, Wrap To Zero |
| Unsupported: | Rate Limiter |
| Discrete | |
| Supported: | Difference, Discrete Derivative, Discrete Filter, Discrete State-Space, Discrete Transfer Fcn, Discrete Zero-Pole, Discrete-Time Integrator, Integer Delay, Memory (if 'Inherit sample time' parameter is checked), Tapped Delay, Transfer Fcn First Order, Transfer Fcn Lead or Lag, Transfer Fcn Real Zero, Unit Delay, Zero-Order Hold |
| Unsupported: | First-Order Hold, Weighted Moving Average |
| Logic and Bit Operations | |
| Supported: | Bit Clear, Bit Set, Bitwise Operator, Combinatorial Logic, Compare To Constant, Compare To Zero, Detect Change, Detect Decrease, Detect Fall Negative, Detect Fall Nonpositive, Detect Increase, Detect Rise Nonnegative, Detect Rise Positive, Extract Bits, Interval Test, Interval Test Dynamic, Logical Operator, Relational Operator, Shift Arithmetic |
| Unsupported: | |
| Lookup Tables | |
| Supported: | Cosine (output formula cos), Direct Lookup Table (n-D), Interpolation using Prelookup, Lookup Table, Lookup Table (2-D), Lookup Table (n-D), Lookup Table Dynamic, Prelookup (Index Search), Sine (output formula sin) |
| Unsupported: | Cosine (output formulas other than cos), Sine (output formulas other than sin) |
| Math Operations | |
| Supported: | Abs, Add, Assignment, Bias, Divide, Dot Product, Gain, Math Function (except Hermitian), Matrix Concatenate, MinMax, MinMax Running Resettable, Polynomial, Product, Product of Elements, Reshape, Rounding Function, Sign, Sine Wave Function (using simulation time), Slider Gain, Subtract, Sum, Sum of Elements, Trigonometric Function, Unary Minus, Weighted Sample Time Math |
| Unsupported: | Algebraic Constraint, Complex to Magnitude-Angle, Complex to Real-Imag, Magnitude-Angle to Complex, Real-Imag to Complex, Math Function (Hermitian), Permute Dimensions, Sine Wave Function (using external time), Squeeze, Vector Concatenate |
| Model Verification | |
| Supported: | |
| Unsupported: | Assertion, Check Discrete Gradient, Check Dynamic Gap, Check Dynamic Lower Bound, Check Dynamic Range, Check Dynamic Upper Bound, Check Input Resolution, Check Static Gap, Check Static Lower Bound, Check Static Range, Check Static Upper Bound |
| Model-Wide Utilities | |
| Supported: | DocBlock, Model Info (Reactis will process models containing these blocks but does not display the information stored in them.) |
| Unsupported: | Block Support Table, Time-Based Linearization, Trigger-Based Linearization |
| Ports & Subsystems | |
| Supported: | Atomic Subsystem, Configurable Subsystem, Enable, Enabled Subsystem, Enabled and Triggered Subsystem, For Iterator Subsystem, Function-Call Generator, Function-Call Subsystem, If, If Action Subsystem, Inport, Model, Outport, Subsystem, Switch Case, Switch Case Action Subsystem, Trigger, Triggered Subsystem, While Iterator Subsystem |
| Unsupported: | CodeReuseSubsystem |
| Signal Attributes | |
| Supported: | Data Type Conversion, Data Type Conversion Inherited, Data Type Duplicate, Data Type Propogation, Data Type Scaling Strip, IC, Probe, Rate Transition, Signal Conversion, Signal Specification, Weighted Sample Time, Width |
| Unsupported: | |
| Signal Routing | |
| Supported: | Bus Assignment, Bus Creator, Bus Selector, Data Store Memory, Data Store Read, Data Store Write, Demux, Environment Controller, From, Goto, Goto Tag Visibility, Index Vector, Merge, Multiport Switch, Mux, Selector, Switch |
| Unsupported: | Manual Switch |
| Sinks | |
| Supported: | Display, Floating Scope, Outport, Scope, Terminator |
| Unsupported: | Stop Simulation, To File, To Workspace, XY Graph |
| Sources | |
| Supported: | Constant, Counter Free-Running, Counter Limited, Digital Clock, From File, From Workspace, Ground, Inport, Pulse Generator (sample based), Ramp*, Repeating Sequence*, Repeating Sequence Interpolated, Repeating Sequence Stair, Signal Builder (discrete sample time), Signal Generator, Sine Wave, Step |
| Unsupported: | Band-Limited White Noise, Chirp Signal, Clock, Pulse Generator (time based), Random Number, Uniform Random Number |
| User-Defined Functions | |
| Supported: | Fcn, S-function (partial), S-function Builder (partial) |
| Unsupported: | Embedded MATLAB Function, M-file (level-2) S-Function, MATLAB Fcn |
| Additional Discrete | |
| Supported: | Fixed-Point State-Space, Unit Delay Enabled, Unit Delay Enabled External IC, Unit Delay Enabled Resettable, Unit Delay Enabled Resettable External IC, Unit Delay External IC, Unit Delay Resettable, Unit Delay Resettable External IC, Unit Delay With Preview Enabled, Unit Delay With Preview Enabled Resettable Unit Delay With Preview Resettable External RV, Unit Delay With Preview Resettable, Unit Delay With Previes Enabled Resettable External RV |
| Unsupported: | Transfer Fcn Direct Form II, Transfer FcnDirect Form II Time Varying |
| Additional Math | |
| Supported: | Decrement Real World, Decrement Stored Integer, Decrement Time To Zero, Decrement To Zero, Increment Real World, Increment Stored Integer |
| Unsupported: | |
| Commonly Used Blocks | |
| Supported: | Bus Creator, Bus Selector, Constant, Data-Type Conversion, Demux, Discrete-Time Integrator, Gain, Ground, Inport, Logical Operator, Mux, Outport, Product, Relational Operator, Saturation, Scope, Subsystem, Sum, Switch, Terminator, Unit Delay |
| Unsupported: | Integrator |
| Continuous | |
| Supported: | |
| Unsupported: | Derivative, Integrator, State-Space, Transfer Fcn, Transport Delay, Variable Time Delay, Variable Transport Delay, Zero-Pole |
| Discontinuities | |
| Supported: | Backlash, Coulomb & Viscous Friction, Dead Zone, Dead Zone Dynamic, Hit Crossing, Quantizer, Rate Limiter Dynamic, Relay, Saturation, Saturation Dynamic, Wrap To Zero |
| Unsupported: | Rate Limiter |
| Discrete | |
| Supported: | Difference, Discrete Derivative, Discrete Filter, Discrete State-Space, Discrete Transfer Fcn, Discrete Zero-Pole, Discrete-Time Integrator, Integer Delay, Memory (if 'Inherit sample time' parameter is checked), Tapped Delay, Transfer Fcn First Order, Transfer Fcn Lead or Lag, Transfer Fcn Real Zero, Unit Delay, Zero-Order Hold |
| Unsupported: | First-Order Hold, Weighted Moving Average |
| Logic and Bit Operations | |
| Supported: | Bit Clear, Bit Set, Bitwise Operator, Combinatorial Logic, Compare To Constant, Compare To Zero, Detect Change, Detect Decrease, Detect Fall Negative, Detect Fall Nonpositive, Detect Increase, Detect Rise Nonnegative, Detect Rise Positive, Extract Bits, Interval Test, Interval Test Dynamic, Logical Operator, Relational Operator, Shift Arithmetic |
| Unsupported: | |
| Lookup Tables | |
| Supported: | Cosine (output formula cos), Interpolation using Prelookup, Lookup Table, Lookup Table (2-D), Lookup Table (n-D), Lookup Table Dynamic, Prelookup (Index Search), Sine (output formula sin) |
| Unsupported: | Cosine (output formulas other than cos), Direct Lookup Table (n-D), Sine (output formulas other than sin) |
| Math Operations | |
| Supported: | Abs, Add, Assignment, Bias, Divide, Dot Product, Gain, Math Function (except Hermitian), Matrix Concatenate, MinMax, MinMax Running Resettable, Polynomial, Product, Product of Elements, Reshape, Rounding Function, Sign, Sine Wave Function (using simulation time), Slider Gain, Subtract, Sum, Sum of Elements, Trigonometric Function, Unary Minus, Weighted Sample Time Math |
| Unsupported: | Algebraic Constraint, Complex to Magnitude-Angle, Complex to Real-Imag, Magnitude-Angle to Complex, Real-Imag to Complex, Math Function (Hermitian), Permute Dimensions, Sine Wave Function (using external time), Squeeze, Vector Concatenate |
| Model Verification | |
| Supported: | |
| Unsupported: | Assertion, Check Discrete Gradient, Check Dynamic Gap, Check Dynamic Lower Bound, Check Dynamic Range, Check Dynamic Upper Bound, Check Input Resolution, Check Static Gap, Check Static Lower Bound, Check Static Range, Check Static Upper Bound |
| Model-Wide Utilities | |
| Supported: | DocBlock, Model Info (Reactis will process models containing these blocks but does not display the information stored in them.) |
| Unsupported: | Block Support Table, Time-Based Linearization, Trigger-Based Linearization |
| Ports & Subsystems | |
| Supported: | Atomic Subsystem, Configurable Subsystem, Enable, Enabled Subsystem, Enabled and Triggered Subsystem, For Iterator Subsystem, Function-Call Generator, Function-Call Subsystem, If, If Action Subsystem, Inport, Model, Outport, Subsystem, Switch Case, Switch Case Action Subsystem, Trigger, Triggered Subsystem, While Iterator Subsystem |
| Unsupported: | CodeReuseSubsystem |
| Signal Attributes | |
| Supported: | Data Type Conversion, Data Type Conversion Inherited, Data Type Duplicate, Data Type Propogation, Data Type Scaling Strip, IC, Probe, Rate Transition, Signal Conversion, Signal Specification, Weighted Sample Time, Width |
| Unsupported: | Bus To Vector |
| Signal Routing | |
| Supported: | Bus Assignment, Bus Creator, Bus Selector, Data Store Memory, Data Store Read, Data Store Write, Demux, Environment Controller, From, Goto, Goto Tag Visibility, Index Vector, Merge, Multiport Switch, Mux, Selector, Switch |
| Unsupported: | Manual Switch |
| Sinks | |
| Supported: | Display, Floating Scope, Outport, Scope, Terminator |
| Unsupported: | Stop Simulation, To File, To Workspace, XY Graph |
| Sources | |
| Supported: | Constant, Counter Free-Running, Counter Limited, Digital Clock, From File, From Workspace, Ground, Inport, Pulse Generator (sample based), Ramp*, Repeating Sequence*, Repeating Sequence Interpolated, Repeating Sequence Stair, Signal Builder (discrete sample time), Signal Generator, Sine Wave, Step |
| Unsupported: | Band-Limited White Noise, Chirp Signal, Clock, Pulse Generator (time based), Random Number, Uniform Random Number |
| User-Defined Functions | |
| Supported: | Fcn, S-function (partial), S-function Builder (partial) |
| Unsupported: | Embedded MATLAB Function, Level-2 M-File S-Function, MATLAB Fcn |
| Additional Discrete | |
| Supported: | Fixed-Point State-Space, Unit Delay Enabled, Unit Delay Enabled External IC, Unit Delay Enabled Resettable, Unit Delay Enabled Resettable External IC, Unit Delay External IC, Unit Delay Resettable, Unit Delay Resettable External IC, Unit Delay With Preview Enabled, Unit Delay With Preview Enabled Resettable Unit Delay With Preview Resettable External RV, Unit Delay With Preview Resettable, Unit Delay With Previes Enabled Resettable External RV |
| Unsupported: | Transfer Fcn Direct Form II, Transfer FcnDirect Form II Time Varying |
| Additional Math | |
| Supported: | Decrement Real World, Decrement Stored Integer, Decrement Time To Zero, Decrement To Zero, Increment Real World, Increment Stored Integer |
| Unsupported: | |
Reactis supports all of Stateflow, except for the following:
| Copyright © 2000-2007 Reactive Systems, Inc. | Tomorrow's Software Today® |