Minimal Simulink S-function which takes a string as parameter

This S-function is the minimal implementation which takes a string as an S-function parameter. It is based on Matlab/Simulink: Minimal empty template S-function

Important: You need to pass the S-function parameter in single quotes ('), passing them in double quotes does NOT work and will lead to the S-function receiving an empty string parameter.

S Function parameter dialog with string parameter

Compile using


Check out similar posts by category: Matlab/Simulink, C++