- Current release: https://www.mathworks.com/support/requirements/supported-compilers.html
- Previous releases: https://www.mathworks.com/support/requirements/previous-releases.html
Why do I see "Error code -1073741819" when using MATLAB/Simulink?
6 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2022-12-7
回答: MathWorks Support Team
2022-12-7
When I try to use Coder products, run a simulation in Simulink (including Stateflow, Simulink Design Verifier, SimBiology), or build any Simulink model (including shipped demos), the build fails with either with
C:\Program Files\MATLAB\RXXXXx\sys\lcc64\lcc64\bin\lccmake.exe: Error code -1073741819
or
gmake: *** [rtwdemo_counter.obj] Error -1073741819
I also see that "lcc64.exe has stopped working" reported by Windows.
This has started occurring recently and previously I had no problems generating code and building models.
采纳的回答
MathWorks Support Team
2022-12-7
This issue can occur when using the LCC compiler. The error code -1073741819 reported by the build corresponds to a Windows file system error found in Windows 10 that is causing LCC to stop working.
Although the LCC compiler is currently still included in Simulink installations, the LCC compiler is no longer supported and will be removed in a future release of MATLAB and Simulink. MathWorks recommends you install one of the other supported compilers such as MinGW or Microsoft Visual Studio, and configure them using "mex -setup".
In case you would like to continue using LCC, there are numerous reports of this file system error found online, but one particularly helpful page with a few suggested workarounds can be found at the following link.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!