Skip to Main Content Skip to Search
Product Documentation

ssCallExternalModeFcn - Invoke the external mode function for an S-function

Syntax

void ssCallExternalModeFcn(SimStruct *S, SFunExtModeFcn *fcn)

Arguments

S

SimStruct representing an S-Function block.

fcn

External mode function.

Returns

An error string on failure, and NULL if successful.

Description

Invokes the external mode function for S. This macro is for internal use. User-written S-functions should not use the ssCallExternalModeFcn macro.

Languages

C, C++

See Also

ssSetExternalModeFcn

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS