Hi,
I run an example project in simulink this error occured:
### Invoking Target Language Compiler on NEWmotorspd.rtw
### Using System Target File: D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\mbdtbx_mpc574x\mbdtbx_mpc574x\mbd_mpc574x.tlc
### Using Model-Based Design Toolbox for MPC57xx Series 3.2.0 (R2016a-R2020a) 14-Apr-2020
### Loading TLC function libraries
### Generating TLC interface API for custom data
### Initial pass through model to cache user defined code
### Caching model source code
### Writing header file NEWmotorspd_types.h
### Writing source file NEWmotorspd.c
### Writing header file NEWmotorspd_private.h
### Writing header file NEWmotorspd.h
.
### Writing header file freemaster_cfg.h
### Writing header file freemaster_interface_init.h
### Writing source file freemaster_interface_init.c
### Writing header file rtwtypes.h
### Writing header file zero_crossing_types.h
.
### Writing header file rt_zcfcn.h
### Writing source file rt_zcfcn.c
### Writing header file rt_nonfinite.h
### Writing source file rt_nonfinite.c
### Writing header file rtGetInf.h
.
### Writing source file rtGetInf.c
### Writing header file rtGetNaN.h
### Writing source file rtGetNaN.c
### Writing source file mbd_main.c
### TLC code generation complete.
### Creating HTML report file NEWmotorspd_codegen_rpt.html
.
### Processing Template Makefile: D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\mbdtbx_mpc574x\mbdtbx_mpc574x\mbd_mpc574x.tmf
### NEWmotorspd.mk which is generated from D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\mbdtbx_mpc574x\mbdtbx_mpc574x\mbd_mpc574x.tmf is up to date
### Building NEWmotorspd: .\NEWmotorspd.bat
C:\Users\Administrator\Desktop\Speed\NEWmotorspd_mbd_rtw>set MATLAB=D:\MATLAB\R2018a
C:\Users\Administrator\Desktop\Speed\NEWmotorspd_mbd_rtw>"D:\MATLAB\R2018a\bin\win64\gmake" -f NEWmotorspd.mk GENERATE_ERT_S_FUNCTION=0 INCLUDE_MDL_TERMINATE_FCN=1 COMBINE_OUTPUT_UPDATE_FCNS=1 MULTI_INSTANCE_CODE=0 INTEGER_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING
Cleaning...
RELATIVE_PATH_TO_ANCHOR is ..
==== Removing object files from build directory ====
Copying necessary files to build directory...
Compiler details : "D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/S32DS/build_tools/powerpc-eabivle-4_9/bin/powerpc-eabivle-gcc" -DCPU_MPC5744P -mcpu=e200z4 -DSTART_FROM_FLASH --sysroot="D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/S32DS/build_tools/e200_ewl2" -g3 -mbig -mvle -O1 -mregnames -mlsp -specs=ewl_c9x.specs -mhard-float -Wall -c -std=c99 -fdata-sections -ffunction-sections -funsigned-char -fmessage-length=0 -nostdinc -fno-jump-tables -DTURN_ON_CPU0 -mlsp -DTURN_ON_CPU0 -I. -I.. -I../instrumented -I.. -I"\simulink\include" -I"\extern\include" -I"\rtw\c\src" -I"\rtw\c\libsrc" -I"\rtw\c\src\ext_mode\common" -I"\rtw\c\src\ext_mode\tcpip" -I"\rtw\c\src\ext_mode\serial" -I"\rtw\c\src\ext_mode\custom" -IC:\Users\Administrator\Desktop\Speed -IC:\Users\Administrator\Desktop\Speed\NEWmotorspd_mbd_rtw -I"D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/S32DS/build_tools/e200_ewl2/EWL_C/include" -I"D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/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"
Assembler details : "D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/S32DS/build_tools/powerpc-eabivle-4_9/bin/powerpc-eabivle-gcc" -c -g3 -mbig -mvle -mregnames -O1 -DTURN_ON_CPU0 -mhard-float -mlsp -DTURN_ON_CPU0
Product: NEWmotorspd.mot
Build product type: executable
Building file core0_intc_sw_handlers.o...
"D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/S32DS/build_tools/powerpc-eabivle-4_9/bin/powerpc-eabivle-gcc" -c -g3 -mbig -mvle -mregnames -O1 -DTURN_ON_CPU0 -mhard-float -mlsp -DTURN_ON_CPU0 -I.. -o core0_intc_sw_handlers.o core0_intc_sw_handlers.S
Building file interrupt_vectors.o...
"D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/S32DS/build_tools/powerpc-eabivle-4_9/bin/powerpc-eabivle-gcc" -c -g3 -mbig -mvle -mregnames -O1 -DTURN_ON_CPU0 -mhard-float -mlsp -DTURN_ON_CPU0 -I.. -o interrupt_vectors.o interrupt_vectors.S
Building file startup_MPC5744P.o...
"D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/S32DS/build_tools/powerpc-eabivle-4_9/bin/powerpc-eabivle-gcc" -c -g3 -mbig -mvle -mregnames -O1 -DTURN_ON_CPU0 -mhard-float -mlsp -DTURN_ON_CPU0 -I.. -o startup_MPC5744P.o startup_MPC5744P.S
Building file NEWmotorspd.o...
"D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/S32DS/build_tools/powerpc-eabivle-4_9/bin/powerpc-eabivle-gcc" -DCPU_MPC5744P -mcpu=e200z4 -DSTART_FROM_FLASH --sysroot="D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/S32DS/build_tools/e200_ewl2" -g3 -mbig -mvle -O1 -mregnames -mlsp -specs=ewl_c9x.specs -mhard-float -Wall -c -std=c99 -fdata-sections -ffunction-sections -funsigned-char -fmessage-length=0 -nostdinc -fno-jump-tables -DTURN_ON_CPU0 -mlsp -DTURN_ON_CPU0 -I. -I.. -I../instrumented -I.. -I"\simulink\include" -I"\extern\include" -I"\rtw\c\src" -I"\rtw\c\libsrc" -I"\rtw\c\src\ext_mode\common" -I"\rtw\c\src\ext_mode\tcpip" -I"\rtw\c\src\ext_mode\serial" -I"\rtw\c\src\ext_mode\custom" -IC:\Users\Administrator\Desktop\Speed -IC:\Users\Administrator\Desktop\Speed\NEWmotorspd_mbd_rtw -I"D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/S32DS/build_tools/e200_ewl2/EWL_C/include" -I"D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/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" -o NEWmotorspd.o NEWmotorspd.c
In file included from ./devassert.h:22:0,
from ./device_registers.h:411,
from ./inc/pins_driver.h:22,
from NEWmotorspd.h:28,
from NEWmotorspd.c:17:
D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/S32DS/build_tools/e200_ewl2/EWL_C/include/stdbool.h:45:0: warning: "true" redefined
#define true 1
^
In file included from NEWmotorspd.h:24:0,
from NEWmotorspd.c:17:
rtwtypes.h:27:0: note: this is the location of the previous definition
# define true (1U)
^
In file included from ./devassert.h:22:0,
from ./device_registers.h:411,
from ./inc/pins_driver.h:22,
from NEWmotorspd.h:28,
from NEWmotorspd.c:17:
D:\Add\Toolboxes\NXP_MBDToolbox_MPC57xx\code\tools/S32DS/build_tools/e200_ewl2/EWL_C/include/stdbool.h:46:0: warning: "false" redefined
#define false 0
^
In file included from NEWmotorspd.h:24:0,
from NEWmotorspd.c:17:
rtwtypes.h:23:0: note: this is the location of the previous definition
# define false (0U)
^
In file included from NEWmotorspd.h:34:0,
from NEWmotorspd.c:17:
rt_zcfcn.h:20:23: fatal error: solver_zc.h: No such file or directory
#include "solver_zc.h"
^
compilation terminated.
gmake: *** [NEWmotorspd.o] Error 1
### Build procedure for model: 'NEWmotorspd' aborted due to an error.
Error(s) encountered while building "NEWmotorspd"
Any help on the issue would be highly appreciated! Thanks in advance!