Simulink Code Inspector look-up table problem

8 ビュー (過去 30 日間)
Furkan Bayrak
Furkan Bayrak 2019 年 12 月 25 日
コメント済み: Kavya Vuriti 2020 年 4 月 1 日
Hi,
When I want to verify the generated code with Simulink Code Inspector, I get a report that the whole code and model is verified.
However, the Code Inspector report shows some blocks under the heading ‘Functions which need to be manually verified’.
These bloks are 1-D look-up tables.
Why do the blocks appear under the heading ‘Functions which need to be manually verified' even though the entire report is produced as verified?
If Code Inspector cannot verify these blocks, why doesn't they appear in the report as not verified?
How can i verify these bloks?
Thanks.

採用された回答

Kavya Vuriti
Kavya Vuriti 2020 年 4 月 1 日
Hi,
For the lookup table block, SLCI verifies the function call only, not the function body in releases before R2019a. The function body will need to be manually verified. The function body is generated in the shared utilities folder.
Code inspection support for nD-Lookup Table is added from R2019a.
  2 件のコメント
Furkan Bayrak
Furkan Bayrak 2020 年 4 月 1 日
Hi Kavya,
Is there a plan, that can automatically verify the function body in the future Matlab versions?
Thanks.
Furkan
Kavya Vuriti
Kavya Vuriti 2020 年 4 月 1 日
In case you have only simulink blocks in your model, this is the list of blocks which are supported by code inspector. For all other blocks, function body will need to be manually verified.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by