ss2sf - Subsystem-to-S Function

Convert a subsystem to an s-function via the MATLAB command line.
3.4K Downloads
Updated 1 Sep 2016

View License

Typically, you have to right-click on a subsystem, choose Real Time Workshop -> Generate S-Function in order to replace a standard Simulink subsystem with an S-function.
With ss2sf, you can provide a cell array of subsystem paths and the function will replace the specified subsystems with their s-function equivalents.

Cite As

Cole Stephens (2026). ss2sf - Subsystem-to-S Function (https://uk.mathworks.com/matlabcentral/fileexchange/5846-ss2sf-subsystem-to-s-function), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Simulink Coder in Help Center and MATLAB Answers
Version Published Release Notes
1.1.0.1

Updated license

1.1.0.0

Added License Info.

1.0.0.0