External mode and Row Major

2 次查看(过去 30 天)
I have a model that I am attempting to Run in External mode on a F28379D Launch pad. However the mdel contains a look up table that is Row Major so I recieve the following error:
Model 'Exro_Motor_Control' is configured for external mode and row-major code generation, which is not supported.
is there any reasonable work around to this without having to change all my data? I would prefer to have it Row major as that is how the C language is.

采纳的回答

Divyanshu
Divyanshu 2024-2-26
Hi Jake,
You can refer the section 'Code Generation by Using Row-Major Algorithm and Array Layout' of the following documentation which talks about Conversion of Layouts from Column-Major to Row-Major for Models with Lookup Table Blocks:
Hope it helps!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by