cc1.exe: fatal error: stm32f4xx.h: No such file or directory
compilation terminated.
gmake: *** [mSDFT.o] Error 1
C:\Users\Anandaraj\Documents\MATLAB\mSDFT_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:\Users\Anandaraj\Documents\MATLAB\mSDFT_ert_rtw>An_error_occurred_during_the_call_to_make
'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command,
operable program or batch file.
### Creating HTML report file mSDFT_codegen_rpt.html
### Build procedure for model: 'mSDFT' aborted due to an error.
Error(s) encountered while building "mSDFT":
### Failed to generate all binary outputs.
i have installed the necessary hardware packages. yet i have this problem. i am trying to do PIL for stm32f discovery subsystem

답변 (1개)

Anders Sollander
Anders Sollander 2017년 1월 26일

1 개 추천

After you've installed the support package, you will have to do a setup. Go to the support package entry in the Add-Ons explorer, click manage, and then click the setup link for this package. You'll have to download and extract support files from ST, and tell MATLAB where they're located.

댓글 수: 1

Santiago Mercante
Santiago Mercante 2019년 12월 11일
Thanks! I downloaded support files previously, and It worked. After that, I deleted these files. Some time later, I try again and I get "Failed to generate all binary outputs."
Your answer is the solution.

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

태그

질문:

2016년 4월 25일

댓글:

2019년 12월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by