Main Content
Debug and Analyze Quality of S-Functions
Analyze quality and troubleshoot potential problems in S-functions
Analyze the quality of your S-functions using S-Function APIs.
Blocks
S-Function | Include S-function in model |
S-Function Builder | Integrate C or C++ code to create S-functions |
Classes
Simulink.sfunction.Analyzer | Create 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 |
Methods
findSfunctions | Find and return all eligible S-functions in a model |
Topics
- Run Quality Checks on S-Functions Using S-Function Analyzer
Run quality checks on S-functions using S-Function Analyzer to identify and resolve potential problems.
- Troubleshoot S-Function Checks
Troubleshoot the problems that could occur during S-function checks.
- Debug C MEX S-Functions
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.