调试和分析 S-Function 的质量
分析 S-Function 的质量并解决潜在问题
使用 S-Function API 分析 S-Function 的质量。
模块
S-Function | 在模型中包含 S-Function |
S-Function Builder | 集成 C 或 C++ 代码以创建 S-Function |
类
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 |
方法
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 shows how to use S-Function analyzer programmatic interfaces to check S-functions for potential problems and improvements.
- 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.