| Simulink Reference | ![]() |
Use a Level-2 M-file S-function in a model.
Library
Description
This block allows you to use a Level-2 M-file S-function (see Writing Level-2 M-File S-Functions) in a model. To do this, create an instance of this block in the model. Then enter the name of the Level-2 M-File S-function in the M-file name field of the block's parameter dialog box.
| Note Use the S-Function block to include a Level-1 M-file S-function in a block. |
If the Level-2 M-file S-function defines any additional parameters, you can enter them in the Parameters field of the block's parameter dialog box. Enter them as MATLAB expressions that evaluate to their values in the order defined by the M-file S-function. Use commas to separate each expression.
Data Type Support
Depends on the M-file that defines the behavior of a particular instance of this block.
Parameters and Dialog Box
Characteristics
| Interval Test Dynamic | Logical Operator | ![]() |
© 1994-2005 The MathWorks, Inc.