Author Blocks Using C MEX S-Functions - MATLAB & Simulink (original) (raw)

Custom Code and Hand Coded Blocks Using the S-Function API

This library launches examples of different types of SimulinkĀ® S-functions. Simulink S-functions allow you to extend Simulink with new hand coded blocks, interface to custom external code, and create live interfaces to other programs. Use this example to access models containing S-functions in C, C++, M, and FortranĀ®.