Bug report: UAV toolbox uavDubinsConnection obj results in Accelerator mode reference model compilation failure when used in a Simulink MATLAB function block

Problem description:
When an uavDubinsConnection object (Dubins path connection for UAV - MATLAB (mathworks.com)) is used in a Simulink MATLAB function block (Include MATLAB code in models that generate embeddable C code - Simulink (mathworks.com)), the resulting .slx model cannot be called by a parent model through model reference (Reference another model to create model hierarchy - Simulink (mathworks.com)) in accelerator mode. The corresponding error message states:
Reproduction steps:
  1. create a variable Ts = 0.1 in MATLAB base workspace.
  2. run parentMdl.slx in the attachment.

2 件のコメント

This bug persists after Update 2 R2021a
This bug persists after Update 3 R2021a

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

 採用された回答

Yingao Zhang
Yingao Zhang 2021 年 8 月 30 日
Perfect! This bug has been fixed in R2021a Update 5.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeUAV についてさらに検索

製品

リリース

R2021a

タグ

質問済み:

2021 年 5 月 11 日

回答済み:

2021 年 8 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by