image thumbnail

Graphical switching between S-functions

version 1.0.0.1 (3.01 KB) by Stacey Gage
Use a single Simulink s-function block to access multiple s-functions.

2.8K Downloads

Updated 01 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 (2022). 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

Community Treasure Hunt

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

Start Hunting!