필터 지우기
필터 지우기

Simulink Code Generation error - Failed to generate all binary outputs

조회 수: 15 (최근 30일)
Antonio Carlo Bertolino
Antonio Carlo Bertolino 2018년 5월 7일
댓글: sardar Patil 2018년 8월 14일
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
sardar Patil
sardar Patil 2018년 8월 14일
Go to configuration parameter- Code generation-Build process-Click checkbox on generate code only and Package code and artifacts

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by