GetSet access function stubs Generation for SIL simulation

2 ビュー (過去 30 日間)
Ahmed
Ahmed 2023 年 2 月 20 日
編集済み: Venkat Siddarth 2023 年 3 月 7 日
I am using the Custom storage class getset access function for the model input signals and during SIL simulation I recieved the following error . I assumed that Embedded coder will automaticaly generate stubs for this header file and access functions but it seems not , is there any way to generate stubs for this access function automaticaly from embedded coder ?

回答 (1 件)

Venkat Siddarth
Venkat Siddarth 2023 年 3 月 7 日
編集済み: Venkat Siddarth 2023 年 3 月 7 日
Hi @Ahmed,
I understand that you are using custom storage class and you are trying to generate the stubs automatically.This can be achieved as follows:
From the error I understood that, the header file path hasn't been added to the project file paths.
%To add a path to project.
addpath(<your-header-file-path>);
After adding it try SIL simulation again,since SIL can generate stubs for access functions automatically from Embedded Coder.
I hope this resolves the query.
Thanks and regards,
Venkat Siddarth V

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by