Graphical switching between S-functions

Use a single Simulink s-function block to access multiple s-functions.

You are now following this Submission

Allow users to switch between multiple s-functions from popup menu. The s-functions used in this example block ship with Simulink.
For more details, edit block mask and examine the parameters tab. The callback section will show the command that makes it possible -- "set_param(gcb,'functionname',get_param(gcb,'sfun'))".

Cite As

Stacey Gage (2026). Graphical switching between S-functions (https://in.mathworks.com/matlabcentral/fileexchange/3385-graphical-switching-between-s-functions), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.1

Updated license

1.0.0.0