Graphical switching between S-functions

Use a single Simulink s-function block to access multiple s-functions.
2.8K Downloads
Updated 1 Sep 2016

View License

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 (2024). Graphical switching between S-functions (https://www.mathworks.com/matlabcentral/fileexchange/3385-graphical-switching-between-s-functions), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Modeling in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.1

Updated license

1.0.0.0