How to fix rtwtypes.h error?
24 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
vinay gurram
le 26 Mai 2020
Modifié(e) : vinay gurram
le 31 Mai 2020
When running the model Electrci vehcicle reference application model from powertrain blockset, cant able to get result expect these errors. Can anyo one please help me put of this.
### Build procedure for model: 'BattEv' aborted due to an error.
C:/PROGRA~1/Polyspace/R2019b\sys\lcc64\lcc64\bin\lcc64 -c -FoBattEv.obj -nodeclspec -c -DMATLAB_MEX_FILE -DMODEL=BattEv -DNUMST=1 -DNCSTATES=1 -DMAT_FILE=0 -DINTEGER_CODE=0 -DONESTEPFCN=0 -DTERMFCN=1 -DHAVESTDIO -DMULTI_INSTANCE_CODE=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DMDL_REF_SIM_TGT=1 -DENABLE_SLEXEC_SSBRIDGE=1 -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I. -I../../.. -IC:/Users/MATLAB/Projects/examples/EV4/main/Work -IC:/Users/MATLAB/Projects/examples/EV4/main/Work/slprj/sim/BattEv -IC:/PROGRA~1/Polyspace/R2019b/extern/include -IC:/PROGRA~1/Polyspace/R2019b/simulink/include -IC:/PROGRA~1/Polyspace/R2019b/rtw/c/src -IC:/PROGRA~1/Polyspace/R2019b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/Polyspace/R2019b/rtw/c/ert -IC:/Users/MATLAB/Projects/examples/EV4/main/Work/slprj/sim/_sharedutils -IC:/PROGRA~1/Polyspace/R2019b\sys\lcc64\lcc64\include64 -w -noregistrylookup -dll -Zp8 -noregistrylookup -DLCC_WIN64 BattEv.c cpp: c:/progra~1/polyspace/r2019b/rtw/c/src\rtw_modelmap.h:30 "c:\users\matlab\projects\examples\ev4\main\work\slprj\sim\battev\battev.h":6 "c:\users\matlab\projects\examples\ev4\main\work\slprj\sim\battev\battev_capi.h":4 battev.c:2 Could not find include file "rtwtypes.h" cpp: c:/progra~1/polyspace/r2019b/rtw/c/src\rtw_capi.h:22 c:/progra~1/polyspace/r2019b/rtw/c/src\rtw_modelmap.h:42 "c:\users\matlab\projects\examples\ev4\main\work\slprj\sim\battev\battev.h":6 "c:\users\matlab\projects\examples\ev4\main\work\slprj\sim\battev\battev_capi.h":4 battev.c:2 Could not find include file "rtwtypes.h"
Error(s) encountered while building "BattEvlib"
Component:Simulink | Category:Model error
Error while bringing model references of model EvReferenceApplication up to date: see errors reported above for details.
Component:Simulink | Category:Model error
2 commentaires
Chirag
le 26 Mai 2020
Are you Simulating model or generating code? Error message suggests that you are generating code. Can you please confirm?
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Powertrain Reference Applications dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!