Mex Compiler Doesn't Inlcude Windows SDK Includes / Libraries

I am trying to compile a simulink model to run externally, however I get the following error:
fatal error: 'windows.h' file not found # include windows.h
I know the location of this file and others is in the Microsoft SDK folder: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include
How can I make sure that when simulink builds the model, it links to the Microsoft SDK libraries?
My Matlab version is 2012b x64, with mex setup to use Microsoft Software Development Kit (SDK) 7.1 in C:\Program Files (x86)\Microsoft Visual Studio 10.0
Thanks in advance!

답변 (0개)

카테고리

도움말 센터File Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

질문:

n m
2014년 1월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by