| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
| Overview of S-Functions | Brief overview of S-functions. |
| Selecting an S-Function Implementation | Describes when and why to implement an S-function using an M-file, a hand-written C-file, the S-Function Builder, or the Legacy Code Tool. |
| Writing S-Functions in M | How to use the MATLAB M programming language to create S-functions. |
| Writing S-Functions in C | How to use the C programming language to create S-functions. |
| Creating C++ S-Functions | How to use the C++ programming language to create S-functions. |
| Creating Fortran S-Functions | How to use the Fortran programming language to create S-functions. |
| Using Work Vectors | How to create and use work vectors |
| Implementing Block Features | How to use S-function callback methods to implement various block features. |
| Overview of S-Functions | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |