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

2 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Yingao Zhang
Yingao Zhang el 30 de Ag. de 2021
Perfect! This bug has been fixed in R2021a Update 5.

Más respuestas (0)

Categorías

Más información sobre UAV en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by