Hello,
I'm trying to add the eTimer blocks to my hall sensor reader model for NCP_MBToolbox_MPC57xx V3.2 running on MATLAB 2024. As I add eTimer Configuration to my working simulink model the model could not be built anymore. Simulink's response is:
IB:\MATLAB\R2024a\rtw\c\src\ext_mode\common -IB:\MATLAB\R2024a\rtw\c\ert -I"B:\NXP\S32DS_Power_v2.1/S32DS/build_tools/e200_ewl2/EWL_C/include" -I"B:\NXP\S32DS_Power_v2.1/S32DS/build_tools/e200_ewl2/EWL_C/include/pa" -I"./common" -I"./inc" -I"./src/clock/MPC57xx" -I"./src/clock/MPC5777C" -I"./src/sim/MPC5744P" -I"./src/power/MPC57xx" -I"./src/pins/siul2" -I"./src/pins/siu" -I"./MPC5744P/include" -I"../common" -I"../inc" -I"../src/clock/MPC57xx" -I"../src/clock/MPC5777C" -I"../src/sim/MPC5744P" -I"../src/power/MPC57xx" -I"../src/pins/siul2" -I"../src/pins/siu" -I"../MPC5744P/include" -I"../instrumented/common" -I"../instrumented/inc" -I"../instrumented/src/clock/MPC57xx" -I"../instrumented/src/sim/MPC5744P" -I"../instrumented/src/power/MPC57xx" -I"../instrumented/src/pins/siul2" -I"../instrumented/MPC5744P/include" -DTID01EQ=0 -o rt_nonfinite.o rt_nonfinite.c
rt_nonfinite.c:20:1: error: initializer element is not constant
real_T rtNaN = -(real_T)NAN;
^
rt_nonfinite.c:21:1: error: initializer element is not constant
real_T rtInf = (real_T)INFINITY;
^
rt_nonfinite.c:22:1: error: initializer element is not constant
real_T rtMinusInf = -(real_T)INFINITY;
^
rt_nonfinite.c:23:1: error: initializer element is not constant
real32_T rtNaNF = -(real32_T)NAN;
^
rt_nonfinite.c:24:1: error: initializer element is not constant
real32_T rtInfF = (real32_T)INFINITY;
^
rt_nonfinite.c:25:1: error: initializer element is not constant
real32_T rtMinusInfF = -(real32_T)INFINITY;
^
gmake: *** [rt_nonfinite.o] Error 1
### Build procedure for Hall_Read aborted due to an error.
Build Summary
Top model targets built:
Model Action Rebuild Reason
=====================================================================
Hall_Read Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 0m 12.356s
Error(s) encountered while building "Hall_Read"
Component:Simulink | Category:Block diagram error
Thank you in advance for your fast response