ss2sf - Subsystem-to-S Function

Convert a subsystem to an s-function via the MATLAB command line.

You are now following this Submission

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://au.mathworks.com/matlabcentral/fileexchange/5846-ss2sf-subsystem-to-s-function), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Simulink Coder in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Updated license

1.1.0.0

Added License Info.

1.0.0.0