MATLAB Answers

Why do I get the error "Cannot open source file: 'windows.h'" when trying to compile a model Simulink (R2013a)?

4 views (last 30 days)
Sameer
Sameer on 9 Apr 2018
Commented: Natanael Pereira on 22 Nov 2019
Hello Users,
I am facing an issue while Compiling my Simulink Model containing ASCII Encode block.
(F) C0005; "C:\PROGRA~1\MATLAB~1\toolbox\rtw\targets\xpc\target\build\xpcblocks\asciiencode.c", line 20 pos 21; could not open source file "windows.h" #include windows.h ^
I am not familiar with this situation. Can anyone please help me with this?
Best Regards

Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!

Translated by