rt_matrx.c(29): fatal error C1083: Unable to open include file: 'stdlib.h' : No such file or directory
15 views (last 30 days)
Show older comments
Kévin Dos Santos
on 16 Sep 2022
Edited: Stefanie Schwarz
on 25 Apr 2025
Hello,
i have an issue during the compilation of a simulink model, the model worked since i had a change in my windows professional account, now i can't compile it anymore, and the error i put in the title is appearing in the debug window of simulink.
I saw a similar issue on the Mathworks forum, wich was resolved by reinstalling matlab, i tried to do the same and it didn't worked for me.
I checked if the environment variables on my new windows account are the same from the previous one, it didnt changed.
i don't have admin rights so i asked to my IT service if i was able to access all the paths i use with Matlab, and apparently it's not the problem here.
my theory is that there is maybe an issue with how Matlab and Visual studio are linked together, that or maybe it comes from how the path are defined.
I'm a little lost for this issue, i would be glad if someone could help me or at least guide me on the origin of my problem, thanks you in advance.
Matlab version : 2020A
Compiler version : Visual studio 2019
4 Comments
Keerthana Ramesh
on 22 Sep 2022
Edited: Stefanie Schwarz
on 25 Apr 2025
Hi,
Another possible reason could be that the recent system changes that have been made andmade are blocking certain scripts from running correctly or could be linked to recently changed Antivirus.
Thanks,
Keerthana
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!