Why does running Simulink in rapid acceleration mode cause a compiler error indicating that the line is too long?
18 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 20 Jun. 2017
Bearbeitet: MathWorks Support Team
am 2 Sep. 2021
I have a model that I would like to run in rapid acceleration mode. However, when I attempt to run it, I get a compiler error, culminating in the following lines:
model_name.c:134 compiler limit: line too long (more than 20197 chars)
gmake: *** [model_name.obj] Error 1
I tried moving the files to a shorter directory, but that had no effect. What is causing this issue?
Akzeptierte Antwort
MathWorks Support Team
am 17 Aug. 2021
Bearbeitet: MathWorks Support Team
am 2 Sep. 2021
This error may occur if the you do not have any installed/configured compilers (as may be verified by the output of the command "mex -setup"), in which case MATLAB defaults to lcc.
The issue can be corrected by installing a supported compiler. Supported compilers are listed in the documentation at the following link:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Support for MinGW-w64 C/C++ Compiler finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!