How to Suppress Mixed Expressions for Pooled Parameter in generated Autocode?

조회 수: 2 (최근 30일)
Sourabh J
Sourabh J 2020년 12월 15일
답변: Mark McBroom 2020년 12월 25일
Hello,
I have lookup tables in the simulink model, for few of the lookups breakpoint values are similar though they are in different subsystems with different names. When I generate code using Embedded coder, .C file generated for these lookup table merge these coordinates in single expression and mention "Pooled Parameter (Mixed Expressions)" as comment in the start. I want to generate all these lookup table data seperately, I have tried to disable this issue using "Generate shared Constant" option in the "Code Generation > Interface" but that option is by default checked and it is grayed out hence I am not able to uncheck that. Is this solution is correct or is there any other method to generate all these lookup table definitions seperately ?
Thanks in advance.

답변 (1개)

Mark McBroom
Mark McBroom 2020년 12월 25일
Change the "Shared code placement" option to "Shared location" and then the option for "Generate shared constants" will no longer be greyed out.

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by