"Fatal error C1083" when trying to Run a Simulink model

9 次查看(过去 30 天)
I have a very simple Simulink model with a Stateflow Chart and I'm trying to Run a simulation, but I get the following error:
C:\Program Files\MATLAB\R2020a\extern\include\covrt.h(36): fatal error C1083: Non è possibile aprire il file inclusione: 'setjmp.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe"' : codice restituito '0x2'
Stop.
Unable to create mex function 'untitled_sfun.mexw64' required for simulation.
Do you have any idea of why does this happen and how can I solve it?

采纳的回答

Alessandro
Alessandro 2021-11-8
I managed to solve this issue myself by disinstalling and reinstalling Matlab.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Manual Performance Optimization 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by