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

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?

1 Comment

I have the same issue but deinstallation and reinstallation did not help.

Sign in to comment.

 Accepted Answer

I managed to solve this issue myself by disinstalling and reinstalling Matlab.

More Answers (0)

Categories

Products

Release

R2020a

Community Treasure Hunt

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

Start Hunting!