Filter löschen
Filter löschen

Custom name for 1D Lookup function in generated code

11 Ansichten (letzte 30 Tage)
Nadeem Syed
Nadeem Syed am 11 Apr. 2020
Kommentiert: Alex am 4 Jan. 2023
Hello,
I have several models which uses 1D lookup table. During Code-generation, I see "look1_iflf_binlx" function is generated in multiple Model.c files.
Question#1: Is there any option to generate only one instance of this lookup table in a seperate file ex: look1_iflf_binlx, insted of model.c file ?
Question#2: Is there any option to configure the name of this function as ModelName_look1_iflf_binlx ?
Any hlep on this will be appreciated !!!

Akzeptierte Antwort

Mohammed Elhifnawy
Mohammed Elhifnawy am 4 Nov. 2021
The answer is here
  1 Kommentar
Alex
Alex am 4 Jan. 2023
Note: this option is only available if you have selected "C++" as your language. It currently is not an option for "C" language.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by