External mode and Row Major

2 views (last 30 days)
Jake Gareau
Jake Gareau on 16 Feb 2024
Answered: Divyanshu on 26 Feb 2024
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.

Accepted Answer

Divyanshu
Divyanshu on 26 Feb 2024
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!

More Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!