Simulink Block Development Tutorial

A very simple tutorial to build custom Simulink blocks using C S-functions.


Updated 27 Nov 2012

View License

There may be situations where the user want to create Simulink blocks with customised functionality. This document gives a brief introduction to create a Simulink block. The document provides a sample example with step by step procedures and with C S-function source code.
More complex blocks can be built using this approach and it depends on the user requirements.

Cite As

Rahul Prem Nazeer (2023). Simulink Block Development Tutorial (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes