ces Block name Purpose Sine w Generate a sine wave St Generate a step function. Uniform Random Number Generate uniformly distributed random 1-17
Sources 1-17 Sine Wave Generate a sine wave. Step Generate a step function. Uniform Random Number Generate uniformly distributed random numbers. Block Name Purpose slref.book Page 17 Friday, June 21, 2002 5:58 PM
1 Block libraries User-Defined functions The User-Defined Functions library contains blocks that allow you to define the function that relates inputs to outputs Block Name P apply a specified expression to the input MATLAB Fen apply a matlab function or expression t the input S-Function Access an s-function S-Function builder Builds a c mex s-function from specifications and code that you supply. 1-18
1 Block Libraries 1-18 User-Defined Functions The User-Defined Functions library contains blocks that allow you to define the function that relates inputs to outputs. Block Name Purpose Fcn Apply a specified expression to the input. MATLAB Fcn Apply a MATLAB function or expression to the input. S-Function Access an S-function. S-Function Builder Builds a C MEX S-function from specifications and code that you supply. slref.book Page 18 Friday, June 21, 2002 5:58 PM
Blocksets and Toolboxes Blocksets and Toolboxes The blocksets and Toolboxes library contains the Extras block library of ialized blocks 1-19
Blocksets and Toolboxes 1-19 Blocksets and Toolboxes The Blocksets and Toolboxes library contains the Extras block library of specialized blocks. slref.book Page 19 Friday, June 21, 2002 5:58 PM
1 Block libraries Dem。 s Library he demos library contains useful MATLAB and Simulink demos
1 Block Libraries 1-20 Demos Library The Demos library contains useful MATLAB and Simulink demos. slref.book Page 20 Friday, June 21, 2002 5:58 PM
Simulink blocks What Each Block Reference Page Contains Blocks appear in alphabetical order and contain some or all of this information The block name, icon, and block library that contains the block The purpose of the block a description of the block's use The data types and numeric type(complex or real)accepted and generated by the block The block dialog box and parameters The rules for some or all of these topics, as they apply to blocks with fixed-point capabilities Converting block parameters from double-precision numbers to Fixed-Point Blockset data types Converting the input data type(s)to the output data type Performing block operations between inputs and parameters The block characteristics, including some or all of these, as they apply to the Direct Feedthrough-Whether the block or any of its ports has direct feedthrough. For more information, see Algebraic Loops Sample Time- How the block's sample time is determined, whether by the block itself (as is the case with discrete and continuous blocks)or inherited from the block that drives it or is driven by it. For more information, see Scalar Expansion- Whether or not scalar values are expanded to arrays. Some blocks expand scalar inputs and/or parameters as appropriate. For more information, see Scalar Expansion of Inputs and Parameters States- the number of discrete and continuous states
2 Simulink Blocks What Each Block Reference Page Contains Blocks appear in alphabetical order and contain some or all of this information: • The block name, icon, and block library that contains the block • The purpose of the block • A description of the block’s use • The data types and numeric type (complex or real) accepted and generated by the block • The block dialog box and parameters • The rules for some or all of these topics, as they apply to blocks with fixed-point capabilities: - Converting block parameters from double-precision numbers to Fixed-Point Blockset data types - Converting the input data type(s) to the output data type - Performing block operations between inputs and parameters • The block characteristics, including some or all of these, as they apply to the block: - Direct Feedthrough – Whether the block or any of its ports has direct feedthrough. For more information, see Algebraic Loops. - Sample Time – How the block’s sample time is determined, whether by the block itself (as is the case with discrete and continuous blocks) or inherited from the block that drives it or is driven by it. For more information, see Sample Time. - Scalar Expansion – Whether or not scalar values are expanded to arrays. Some blocks expand scalar inputs and/or parameters as appropriate. For more information, see Scalar Expansion of Inputs and Parameters. - States – the number of discrete and continuous states. slref.book Page 1 Friday, June 21, 2002 5:58 PM