Issue with Lookup Table Code Generation?
4 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm trying to generate code from the Embedded Coder. I have a couple of lookup tables in my model but it appears they are not converted well from the model to the C code.
Do I have to set some specific parameters or flag some particular option?
Thanks!
0 个评论
采纳的回答
Fangjun Jiang
2020-6-26
Column-Major Layout to Row-Major Layout Conversion of Models with Lookup Table Blocks
web(fullfile(docroot, 'ecoder/ug/column-major-to-row-major-conversion-of-models-with-lookup-table-blocks.html'))
4 个评论
Fangjun Jiang
2020-6-26
You can run your simulation in normal mode and SIL mode (software in the loop, which is C code) and compare.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Approximate Functions with Lookup Tables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!