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

6 views (last 30 days)
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?

Accepted Answer

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

More Answers (0)

Categories

Find more on Manual Performance Optimization in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!