External mode and Row Major

4 visualizzazioni (ultimi 30 giorni)
Jake Gareau
Jake Gareau il 16 Feb 2024
Risposto: Divyanshu il 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.

Risposta accettata

Divyanshu
Divyanshu il 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!

Più risposte (0)

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by