Effacer les filtres
Effacer les filtres

Simulink如果通过外部.c文件来生成接口 If Simulink generates an interface through an external. c file

1 vue (au cours des 30 derniers jours)
在非autosar的框架下,模型生成代码的接口这一步工作非常重要了呢。
Under the non-autosar framework, the work of model generation code interface is very important.
除过大家使用的全局变量之外,还有些人想使用枚举,或者结构体的方式来做接口。那我们应该如何制作相关接口呢?
In addition to the global variables we use, some people want to use enumeration or structure to make interfaces. How should we make relevant interfaces?

Réponse acceptée

Xiaoning.Wang
Xiaoning.Wang le 6 Fév 2023
你可以尝试以下这种方法,是通过外部文件.h文件来生成相关的接口文件。
You can try the following method to generate the relevant interface file through the external file. h file.
help('Simulink.importExternalCTypes')

Plus de réponses (0)

Catégories

En savoir plus sur AUTOSAR Blockset dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!