Issue with Lookup Table Code Generation?
조회 수: 2 (최근 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!