I'm getting this error. Why and how to solve?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
=== Simulation (Elapsed: 4 sec) ===
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: C:\Users\Fasih\Third_Experiment_Controller_Javad_sldrt_win64
### Invoking Target Language Compiler on Third_Experiment_Controller_Javad.rtw
### Using System Target File: C:\Program Files\MATLAB\R2018b\toolbox\sldrt\rtw\sldrt.tlc
### Loading TLC function libraries
......
### Initial pass through model to cache user defined code
.....
### Caching model source code
...............................................................................
..
### Writing source file Third_Experiment_Controller_Javad_tgtconn.c
.....................................................
### Writing header file Third_Experiment_Controller_Javad_types.h
.
### Writing header file Third_Experiment_Controller_Javad.h
### Writing source file Third_Experiment_Controller_Javad.c
### Writing header file rtwtypes.h
### Writing header file multiword_types.h
### Writing header file zero_crossing_types.h
### Writing header file Third_Experiment_Controller_Javad_private.h
### Writing header file rtmodel.h
.
### Writing source file Third_Experiment_Controller_Javad_data.c
### Writing header file rt_nonfinite.h
### Writing source file rt_nonfinite.c
### Writing header file rt_defines.h
### Writing header file rtGetInf.h
### Writing source file rtGetInf.c
.
### Writing header file rtGetNaN.h
### Writing source file rtGetNaN.c
### TLC code generation complete.
### Generating TLC interface API.
.............................................................................
### Creating data type transition file Third_Experiment_Controller_Javad_dt.h
.
### Processing Template Makefile: C:\Program Files\MATLAB\R2018b\toolbox\sldrt\rtw\sldrt.tmf
### Third_Experiment_Controller_Javad.mk which is generated from C:\Program Files\MATLAB\R2018b\toolbox\sldrt\rtw\sldrt.tmf is up to date
### Building Third_Experiment_Controller_Javad: .\Third_Experiment_Controller_Javad.bat
.
C:\Users\Fasih\Third_Experiment_Controller_Javad_sldrt_win64>set MATLAB=C:\Program Files\MATLAB\R2018b
C:\Users\Fasih\Third_Experiment_Controller_Javad_sldrt_win64>"C:\PROGRA~1\MATLAB\R2018b\bin\win64\gmake" -f Third_Experiment_Controller_Javad.mk EXTMODE_STATIC_ALLOC=0 EXTMODE_STATIC_ALLOC_SIZE=1000000 TMW_EXTMODE_TESTING=0 COMBINE_OUTPUT_UPDATE_FCNS=0 INCLUDE_MDL_TERMINATE_FCN=1 MULTI_INSTANCE_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING OPTS="-DTGTCONN -DEXT_MODE -DON_TARGET_WAIT_FOR_START=1"
gmake: Third_Experiment_Controller_Javad.mk: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: Third_Experiment_Controller_Javad.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: Third_Experiment_Controller_Javad_data.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: Third_Experiment_Controller_Javad_tgtconn.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: rtGetInf.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: rtGetNaN.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: rt_nonfinite.c: Timestamp out of range; substituting 1970-01-01 08:00:00
### Compiling C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src/sldrt_main.c
C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/clang/win64/clang -emit-llvm -c -m64 -O4 -DINT64_T="long long" -DUINT64_T="unsigned long long" -fno-ms-compatibility -U_MSC_VER -U__STDC_HOSTED__ -Wno-switch-enum -Wno-empty-body -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/lib/include -I. -I.. -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src -IC:/Users/Fasih -IC:/Users/Fasih/Third_Experiment_Controller_Javad_sldrt_win64 -IC:/Has/3RDEXP~1/WITHCO~1/DZVJAV~1 -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -DTGTCONN -DEXT_MODE -DON_TARGET_WAIT_FOR_START=1 -DEXT_MODE -DUSE_RTMODEL -DMODEL=Third_Experiment_Controller_Javad -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=4 -DMT=0 -o "sldrt_main.obj" "C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src/sldrt_main.c"
gmake: sldrt_main.obj: Timestamp out of range; substituting 1970-01-01 08:00:00
### Compiling C:/PROGRA~1/MATLAB/R2018b/rtw/c/src/rt_sim.c
C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/clang/win64/clang -emit-llvm -c -m64 -O4 -DINT64_T="long long" -DUINT64_T="unsigned long long" -fno-ms-compatibility -U_MSC_VER -U__STDC_HOSTED__ -Wno-switch-enum -Wno-empty-body -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/lib/include -I. -I.. -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src -IC:/Users/Fasih -IC:/Users/Fasih/Third_Experiment_Controller_Javad_sldrt_win64 -IC:/Has/3RDEXP~1/WITHCO~1/DZVJAV~1 -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -DTGTCONN -DEXT_MODE -DON_TARGET_WAIT_FOR_START=1 -DEXT_MODE -DUSE_RTMODEL -DMODEL=Third_Experiment_Controller_Javad -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=4 -DMT=0 -o "rt_sim.obj" "C:/PROGRA~1/MATLAB/R2018b/rtw/c/src/rt_sim.c"
gmake: rt_sim.obj: Timestamp out of range; substituting 1970-01-01 08:00:00
Error:### Unable to find build success text: "### Created" in build log.
Réponses (1)
Yash
le 19 Août 2024
Hello Haszuraidah,
The error you are encountering is related to timestamp issues during the code generation and build process. The error messages indicates that there might be a problem with the file timestamps, which can occur due to various reasons such as:
- System Clock Issues: The system clock might not be set correctly. Ensure that your system clock is set to the current date and time.
- File System Issues: If you're using a file system that doesn't support timestamps correctly (e.g., a network drive or an external drive with a different file system), this might cause issues.
- Antivirus or Backup Software: Sometimes, antivirus or backup software can interfere with file timestamps. Try disabling them temporarily to see if it resolves the issue.
- Corrupted Files: The files might be corrupted. Try regenerating the files by cleaning the build directory and rebuilding the project.
Please find the links to the following relevant questions:
- Timestamp out of range; substituting 1970-01-01 02:00:00 error: https://cplusplus.com/forum/beginner/13515/
- CCSv5 Corrupts imported project file's timestamp: https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/205511/ccsv5-corrupts-imported-project-file-s-timestamp
I hope this helps!
0 commentaires
Voir également
Catégories
En savoir plus sur Embedded Coder dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!