How can I include Simulink.Breakpoint in A2L file?

조회 수: 1 (최근 30일)
Shardul Kulkarni
Shardul Kulkarni 2024년 4월 29일
편집: Satwik 2024년 8월 28일
In the model, few variables are used for input to 'Interpolation Using Prelookup' block. As per requirement these variable have class Simulink.Breakpoint. However this is preventing these variables to be generated in A2L file.
Is there any possible way to include Simulink.Breakpoint class variables in E-coder generated A2L file?

답변 (1개)

Satwik
Satwik 2024년 8월 28일
편집: Satwik 2024년 8월 28일
Hi,
I understand from your question that some variables you are using as input to the ‘Interpolation Using Prelookup’ block, which have the class ‘Simulink.Breakpoint’ are not being generated in the A2L file. You want to include them in the generated A2L file.
You can refer to the following documentation, which provides directions on how to configure lookup table blocks for code generation:
  1. For table data and tunable breakpoint data, use ‘Simulink.Parameter’ data object with a non-Auto storage class.
  2. Change data specifications to ‘Table and breakpoints’ and assign table data and break points.
  3. Change breakpoints data type to ‘Inherit from Breakpoints’.
  4. Set ‘Simulink.Parameter’ storage class as ‘ExportedGlobal’.
Here is an existing MATLAB answer, provided by MathWorks staff, which refers to a similar issue caused by the table data and breakpoints not being defined as a ‘Simulink.Parameter’ data object with a non-Auto storage class:

카테고리

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

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by