Error when I want to use simulink with arduino

3 次查看(过去 30 天)
### 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
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