How to can i fix "Failed to generate all binary outputs" while building a c code for software in the loop block ?
이전 댓글 표시
hello everyone
i encountered this error while trying to generate block for software in the loop in the simulink to target a embedded coder
thank you .
### Generating
code into build folder: C:\Users\said\Desktop\testsil\sil_sta\Vsc1_ert_rtw
### Invoking Target Language Compiler on Vsc1.rtw
### Using System Target File: C:\Program Files (x86)\MATLAB\R2014b\rtw\c\ert\ert.tlc
### Loading TLC function libraries
### Initial pass through model to cache user defined code
### Caching model source code
### Writing source file Vsc1.c
### Writing header file Vsc1_private.h
### Writing header file Vsc1.h
### Writing header file Vsc1_types.h
### Writing header file rtwtypes.h
### Writing source file Vsc1_data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete.
### Evaluating PostCodeGenCommand specified in the model
### Using toolchain: GNU Tools for ARM Embedded Processors v4.7 | gmake (32-bit Windows)
### 'C:\Users\said\Desktop\testsil\sil_sta\Vsc1_ert_rtw\Vsc1.mk' is up to date
### Using toolchain: GNU Tools for ARM Embedded Processors v4.7 | gmake (32-bit Windows)
### 'C:\Users\said\Desktop\testsil\sil_sta\Vsc1_ert_rtw\Vsc1.mk' is up to date
### Building 'Vsc1': C:\Program Files (x86)\MATLAB\R2014b\bin\win32\gmake -f Vsc1.mk buildobj
C:\Users\said\Desktop\testsil\sil_sta\Vsc1_ert_rtw>cd .
\MATLAB\R2014b\bin\win32\gmake was unexpected at this time.
C:\Users\said\Desktop\testsil\sil_sta\Vsc1_ert_rtw>if "buildobj"=="" (C:\Program Files (x86)\MATLAB\R2014b\bin\win32\gmake -f Vsc1.mk all) else (C:\Program Files (x86)\MATLAB\R2014b\bin\win32\gmake -f Vsc1.mk buildobj)
end
[Warning: The following error was caught while executing 'onCleanup' class
destructor:
Invalid or deleted object.]
[Warning: The following error was caught while executing 'onCleanup' class
destructor:
Invalid or deleted object.]
Build procedure for model: 'Vsc1' aborted due to an error.
Error(s) encountered while building model "Vsc1":
### Failed to generate all binary outputs.
Component: Simulink | Category: Build error
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!