Modeling Function Variants in TargetLink

在实际的 Simulink/TargetLink 项目中,用户经常需要对功能变量建模,即以不同方式实现某些可切换功能。支持可选功能或不同的车辆配置可能需要功能变量。
在代码的生成、编译或运行期间,可以实现功能变量的绑定。如果在生成代码时进行绑定,则会生成与变量相关的特定代码。利用代码中的预处理器定义可以在编译时实现变量的绑定。如要运行时绑定变量,可以使用校准变量。

该应用程序说明介绍了借助 TargetLink 实现功能变量的方法和技术。其中还介绍了相关 TargetLink 原理涉及的背景信息以及解决常见问题的提示和建议。TargetLink 2.3.1 版和 TargetLink 3.0.1 版(与 The MathWorks Release R2007b 或更新版配合使用)有演示模型作示例。

Please note

This material is available for registered customers with additional permission for TargetLink Support Information only. If you are already registered please logon with your mydSPACE ID and passphrase in order to download this material. If you are not yet registered, use these links for registration and managing your permissions

Tags
Date 2012-06-15
软件类型 产品级代码生成软件
产品 TargetLink
资料信息 应用说明
信息类别 常规使用
dSPACE 版本发布 2022-A, 2021-B, 2021-A, 2020-B, 2020-A, 2019-B, 2019-A, 2018-B, 2018-A, 2017-B , 2017-A, 2016-B, 2016-A, 2015-B, 2015-A, 2014-B, 2014-A, 2013-B, 2013-A, 2013-A之前版本

推动创新进程。我们始终在技术开发的最前沿。

欢迎订阅我们简讯,了解我们的专业技术以及产品。希望我们的成功案例能够对您有所帮助。快速了解仿真和验证的最新信息。欢迎订阅/管理dSPACE简讯和dSPACE航空速报。

Enable form call

At this point, an input form from Click Dimensions is integrated. This enables us to process your newsletter subscription. The form is currently hidden due to your privacy settings for our website.

External input form

By activating the input form, you consent to personal data being transmitted to Click Dimensions within the EU, in the USA, Canada or Australia. More on this in our privacy policy.