フィルターのクリア

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

1 回表示 (過去 30 日間)
Xiaoning.Wang
Xiaoning.Wang 2023 年 2 月 6 日
回答済み: Xiaoning.Wang 2023 年 2 月 6 日
在非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?

採用された回答

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAUTOSAR Blockset についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!