Mex Compiler Doesn't Inlcude Windows SDK Includes / Libraries

조회 수: 2 (최근 30일)
n m
n m 2014년 1월 18일
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개)

카테고리

Help CenterFile Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by