User`s guide

Index
I-2
mdlSetOutputPortSampleTime 3-34, 3-41
mdlSetOutputPortWidth function 3-35
mdlSetWorkWidths 3-46
mdlStart 3-48
mdlUpdate 3-42, 3-51
memory and work vectors 3-43
mex utility 1-2
mex.h 3-11
M-file S-function routines 2-2
mixedm.c example 3-65
multirate S-Function blocks 3-42
O
output arguments for M-file S-functions 2-5
P
parameters, S-function 2-20
penddemo demo 1-4
pointer work vector, example 3-46
port widths, configuring 3-32
port-based sample times 3-39
R
re-entrancy 3-43
run-time routines 3-14
S
S_FUNCTION_LEVEL 2, #define 3-10
S_FUNCTION_NAME, #define 3-10
sample times
block-based 3-36
continuous block, example 3-42
hybrid block, example 3-43
port-based 3-39
S-Function block 1-2
multirate 3-42
S-function routines 1-7
C MEX 3-3
M-file 2-2
S-functions
additional parameters 2-20
block characteristics 3-27
C MEX 1-2, 3-1
calling sequence 3-16
definition 1-2
direct feedthrough 1-9
error handling 3-12
examples in MATLAB directory 1-13
exception free code 3-13
inlined 4-7, 4-18
input arguments for M-files 2-5
masked multiport 3-32
MEX-file, bottom of file 3-11
MEX-file, top of file 3-10
output arguments for M-files 2-5
parameter changes 3-23
parameter field 3-22
purpose 1-4
routines 1-7
run-time routines 3-14
templates 1-8
types of 4-3
when to use 1-4
wrapper 4-8
sfuntmpl.c template 1-8
sfuntmpl.c template 3-2, 3-10
sfuntmpl.m template 2-2
simsizes function 2-3
simstruc.h 3-10
SimStruct macros