Writing S-Functions Previous page   Next Page

Creating Output Ports

To create and configure output ports, the mdlInitializeSizes method should first specify the number of input ports that the S-function has, using ssSetNumOutputPorts. Then, for each output port, the method should specify


Previous page  Creating Input and Output Ports Scalar Expansion of Inputs Next page

© 1994-2005 The MathWorks, Inc.