Analyze the quality of your S-functions using S-Function APIs.
S-Function | Include S-function in model |
S-Function Builder | Integrate C or C++ code to create S-functions |
Simulink.sfunction.Analyzer | Create a Simulink S-function analyzer object |
Simulink.sfunction.analyzer.BuildInfo | Create an object to represent build information |
Simulink.sfunction.analyzer.Options | Create an object to specify options for running S-function checks |
findSfunctions | Find and return all eligible S-functions in a model |
Check S-Functions Using S-Function Analyzer APIs
Run quality checks on S-functions to identify potential problems.
Run Quality Checks on S-Functions
This example demonstrates how to use S-Function analyzer APIs to check S-functions, in order to identify potential problems and improvements.
Troubleshoot S-Function Checks
Troubleshoot the problems that could occur during S-function checks.
Troubleshoot errors and problems in C MEX S-Functions.
S-Functions in Normal Mode Referenced Models
Learn the requirements for C S-functions that are used in referenced models executing in normal mode.