Simulink Code Generation error - Failed to generate all binary outputs

13 vues (au cours des 30 derniers jours)
Antonio Carlo Bertolino
Antonio Carlo Bertolino le 7 Mai 2018
Commenté : sardar Patil le 14 Août 2018
Hi everyone,
does anyone know what is the cause of this error? This happens when I try to run a simulation in Rapid Acceleration Mode. The same model in R.A.M. works in a directory on Desktop. Yesterday it worked in the original directory as well. It seems like if MATLAB couldn't read the path due to spaces. How can I solve it?
### Building the rapid accelerator target for model: LH16
"C:\PROGRA~3\MATLAB\SUPPOR~1\R2017b\3P778C~1.INS\MINGW_~1.INS\bin/gcc" -c -pedantic -Wno-long-long -fwrapv -O0 -DEXT_MODE=1 -DINTEGER_CODE=0 -DCLASSIC_INTERFACE=1 -DALLOCATIONFCN=0 -DONESTEPFCN=0 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DTID01EQ=1 -DSLMSG_ALLOW_SYSTEM_ALLOC -DTGTCONN -DON_TARGET_WAIT_FOR_START=0 -DNDEBUG -DMODEL=LH16 -DNUMST=9 -DNCSTATES=38 -DHAVESTDIO -DNRT -DRSIM_PARAMETER_LOADING -DRSIM_WITH_SL_SOLVER -DENABLE_SLEXEC_SSBRIDGE=11 -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IE:/OneDrive - Politecnico di Torino/Progetti/Lufthansa/LufthansaA320elevator31075/Model/Anno 2017_2018/Nuova sequenza/Modello del 03 maggio 18 -IC:/PROGRA~1/MATLAB/R2017b/simulink/include/sf_runtime -IE:/OneDrive - Politecnico di Torino/Progetti/Lufthansa/LufthansaA320elevator31075/Model/Anno 2017_2018/Nuova sequenza/Modello del 03 maggio 18/slprj/raccel/LH16 -IC:/PROGRA~1/MATLAB/R2017b/extern/include -IC:/PROGRA~1/MATLAB/R2017b/simulink/include -IC:/PROGRA~1/MATLAB/R2017b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2017b/rtw/c/src/rapid -IC:/PROGRA~1/MATLAB/R2017b/rtw/c/raccel -IC:/PROGRA~1/MATLAB/R2017b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2017b/rtw/c/src/rtiostream/rtiostreamtcpip -IC:/PROGRA~1/MATLAB/R2017b/toolbox/coder/rtiostream/src/utils -o "rt_logging.obj" "C:/PROGRA~1/MATLAB/R2017b/rtw/c/src/rt_logging.c"
gcc: error: Politecnico: No such file or directory
gcc: error: di: No such file or directory
gcc: error: Torino/Progetti/Lufthansa/LufthansaA320elevator31075/Model/Anno: No such file or directory
gcc: error: 2017_2018/Nuova: No such file or directory
gcc: error: sequenza/Modello: No such file or directory
gcc: error: del: No such file or directory
gcc: error: 03: No such file or directory
gcc: error: maggio: No such file or directory
gcc: error: 18: No such file or directory
gcc: error: Politecnico: No such file or directory
gcc: error: di: No such file or directory
gcc: error: Torino/Progetti/Lufthansa/LufthansaA320elevator31075/Model/Anno: No such file or directory
gcc: error: 2017_2018/Nuova: No such file or directory
gcc: error: sequenza/Modello: No such file or directory
gcc: error: del: No such file or directory
gcc: error: 03: No such file or directory
gcc: error: maggio: No such file or directory
gcc: error: 18/slprj/raccel/LH16: No such file or directory
gmake: *** [rt_logging.obj] Error 1
The make command returned an error of 2
"An_error_occurred_during_the_call_to_make" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
### Build procedure for model: 'LH16' aborted due to an error.
Unable to build a standalone executable to simulate the model 'LH16' in rapid accelerator mode.
Caused by:
Error(s) encountered while building "LH16":
### Failed to generate all binary outputs.
I'm really surprised because yesterday it worked!!
I have installed the MinGW64 Compiler.
Thanks a lot, kind regards
Antonio
  1 commentaire
sardar Patil
sardar Patil le 14 Août 2018
Go to configuration parameter- Code generation-Build process-Click checkbox on generate code only and Package code and artifacts

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink 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!

Translated by