フィルターのクリア

How can I fix a `bur_grt_make_rtw_hook` error?

7 ビュー (過去 30 日間)
Toby Hijzen
Toby Hijzen 2018 年 5 月 8 日
コメント済み: sjors Couwenberg 2023 年 8 月 3 日
While compiling software under simulink 2017b with Automation Studio Target for Simulink the following error pops up:
The call to bur_grt_make_rtw_hook, during the entry hook generated the following error:
Struct contents reference from a non-struct array object.
The build process will terminate as a result.
Caused by:
- Struct contents reference from a non-struct array object.
It used to work with 2016a.

回答 (2 件)

Toby Hijzen
Toby Hijzen 2018 年 5 月 9 日
I had forgotten to update the automation studio project path (found under Basic_Settings) in the B&R Config block. Changing this to the correct path seems to have fixed the problem.

Soroush Azarian
Soroush Azarian 2022 年 4 月 6 日
I am trying to compile a S-function based model into Twincat object and I am getting the follwoing error. has anyone encountered the similar issue?
Top model targets built: Model Action Rebuild Reason ============================================================================= ConverterModelDUT Failed Code generation information file does not exist. 0 of 1 models built (0 models already up to date) Build duration: 0h 0m 5.212s
The call to TwinCatGrt_make_rtw_hook, during the after_make hook generated the following error: Dot indexing is not supported for variables of this type. The build process will terminate as a result.
Caused by:
  • Dot indexing is not supported for variables of this type.
Component:Simulink | Category:Block diagram error
  2 件のコメント
sjors Couwenberg
sjors Couwenberg 2023 年 8 月 3 日
I have the same issue.
Did you find a solution ?
sjors Couwenberg
sjors Couwenberg 2023 年 8 月 3 日
I found my problem.
The tccert file had a wrong name and the matlab could not find it.
I corrected the name and now it works.

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

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by