Simulink compilation error: Launchpad F28069M
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Emmanuel Santiago Iglesias
am 2 Jul. 2018
Kommentiert: Emmanuel Santiago Iglesias
am 2 Jul. 2018
Hello,
i am having an issue while downloading the code to the mcu using simulink code generation. My matlab version is 2016b and i am using the embedded coder add-on for TI C2000 processors. Untill now everything has been working nicely, but now i've been getting the following compilation error when building the code.
if true
%
IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/shared/externalmode_daemon/include --output_file="ext_svr_c2000.obj" "C:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src/ext_svr_c2000.c"
"C:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src/ext_svr_c2000.c", line 54: fatal error: cannot open source file "multiword_types.h"
1 catastrophic error detected in the compilation of "C:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src/ext_svr_c2000.c".
Compilation terminated.
>> Compilation failure
gmake: *** [ext_svr_c2000.obj] Error 1
D:\temp\BuildFolder\IMU_PIDNC_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
D:\temp\BuildFolder\IMU_PIDNC_ert_rtw>An_error_occurred_during_the_call_to_make
Der Befehl "An_error_occurred_during_the_call_to_make" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
(((((Error cannot open source file "multiword_types.h"))))))
end
What could be causing the error? I have used the same simulink model with the mcu and compiled the code without any issues. Maybe i changed something and now it cannot find the header file "multiword_types.h". Thanks in advance!
Regards, Emmanuel
0 Kommentare
Akzeptierte Antwort
Venkatesh Chilapur
am 2 Jul. 2018
Looks like your model is stuck in external mode configuration which happens to be a intermediate config set that is used in background when running external mode. If external mode terminates with a error then the model could be stuck in this configuration and could result in this error. Please try to switch to default config from model explorer and see if this helps.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!