Error when I want to use simulink with arduino

조회 수: 1 (최근 30일)
Ramirez Porras
Ramirez Porras 2017년 10월 29일
편집: Alexis Javier Mayo 2019년 3월 4일
### Generating code into build folder: C:\Windows\System32\led_apagar_ert_rtw ### Invoking Target Language Compiler on led_apagar.rtw ### Using System Target File: C:\Program Files\MATLAB\R2017a\rtw\c\ert\ert.tlc ### Loading TLC function libraries ### Initial pass through model to cache user defined code . ### Caching model source code ### Writing header file led_apagar.h ### Writing header file led_apagar_types.h ### Writing source file led_apagar.c ### Writing header file rtwtypes.h . ### Writing header file led_apagar_private.h ### Writing source file led_apagar_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: Arduino AVR v1.6.13 | gmake (64-bit Windows) ### Creating 'C:\Windows\System32\led_apagar_ert_rtw\led_apagar.mk' ... ### Building 'led_apagar': "C:\PROGRA~1\MATLAB\R2017a\bin\win64\gmake" -f led_apagar.mk all C:\Windows\System32\led_apagar_ert_rtw>cd . C:\Windows\System32\led_apagar_ert_rtw>if "" == "" ("C:\PROGRA~1\MATLAB\R2017a\bin\win64\gmake" -f led_apagar.mk all ) else ("C:\PROGRA~1\MATLAB\R2017a\bin\win64\gmake" -f led_apagar.mk ) gmake: led_apagar.mk: No such file or directory gmake: * No rule to make target `led_apagar.mk'. Stop. C:\Windows\System32\led_apagar_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 C:\Windows\System32\led_apagar_ert_rtw>An_error_occurred_during_the_call_to_make "An_error_occurred_during_the_call_to_make" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable. ### Creating HTML report file led_apagar_codegen_rpt.html ### Build procedure for model: 'led_apagar' aborted due to an error. Error(s) encountered while building "led_apagar": ### Failed to generate all binary outputs.
// I don´t know why doaesn´t works I thing could be a problem with the path o folders, but I don´t know how solve it. Could you help me please?

답변 (1개)

Alexis Javier Mayo
Alexis Javier Mayo 2019년 3월 4일
편집: Alexis Javier Mayo 2019년 3월 4일
Did you solve the problem? I have troubles with this too.

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by