Bug report: UAV toolbox uavDubinsConnection obj results in Accelerator mode reference model compilation failure when used in a Simulink MATLAB function block
1 view (last 30 days)
Show older comments
Yingao Zhang
on 11 May 2021
Answered: Yingao Zhang
on 30 Aug 2021
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/614540/image.png)
Note that this bug is related to ARM platform binaries from C++ code generated for uavDubinsConnection - MATLAB Answers - MATLAB Central (mathworks.com).
Reproduction steps:
- create a variable Ts = 0.1 in MATLAB base workspace.
- run parentMdl.slx in the attachment.
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!