参数调优与 MATLAB
可调模块与全局参数更新、参数扫描、极值检验
在实时应用程序运行期间,使用 MATLAB® 查询和修改可调模块参数及全局参数。执行参数扫描和极值检验。
对象
Application | Represent application files on development computer |
Instrument | 创建实时仪表对象 |
slrealtime.instrument.LineStyle | 创建实时仪表线型对象 (自 R2022b 起) |
ParameterSet | 实时应用参数集 (自 R2021a 起) |
Target | 实时呈现应用程序和目标计算机的状态 |
Stimulation | 目标计算机模型根端口激励器对象 (自 R2021a 起) |
函数
slrealtime | 目标计算机管理接口 |
主题
背景
- 可调模块参数与可调全局参数
在实时执行过程中修改可调模块参数和可调全局参数。
参数调整
- Tune Parameters by Using MATLAB Language
Change block parameters while your real-time application is running on the target computer. - 使用 MATLAB® 语言调整内联参数
通过 MATLAB 变量使内联参数可调。 - Tune Parameter Structures by Using MATLAB Language
Organize related parameters into a structure and use the structure to tune parameters.
MATLAB 接口
- Target and Application Objects
Use the MATLAB Command Window to change properties and control the target computer and your real-time application. - 实时应用的仪表应用程序
通过仪表盘应用程序与您的实时应用程序进行交互。
限制
- Troubleshoot Parameters Not Accessible by Name
Investigate issues that prevent you from observing or tuning some parameters in the real-time application. - Troubleshoot Instance-Specific Parameters Not Saved
Investigate issues that prevent saving instance-specific parameters and parameters with custom storage classes to a MAT file. - Internationalization Issues for Simulink Real-Time
Learn about Simulink® Real-Time™ support for internationalization.