I try to open the billiard simulink model "sf_pool" but it's not working. it show the following error message :
Making simulation target "sf_pool_sfun", ...
C:\Users\Techno Zone\Documents\MATLAB\slprj\_sfprj\sf_pool\_self\sfun\src>call "mexopts.bat"
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
### Compiling "sf_pool_sfun.c"
cl.exe /c /Zp8 /GR /W3 /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /nologo /MD /MD /I "c:\program files\matlab\r2010a\extern\include" /I "c:\program files\matlab\r2010a\simulink\include" /I "c:\program files\matlab\r2010a\stateflow\c\mex\include" /I "c:\program files\matlab\r2010a\stateflow\c\debugger\include" "sf_pool_sfun.c"
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' : return code '0xc0000135'
Stop.

 채택된 답변

Thomas Koelen
Thomas Koelen 2015년 5월 9일

0 개 추천

You'll have to install the latest version of .NET Framework!

댓글 수: 7

elie geagea
elie geagea 2015년 5월 10일
First thanks for replying. I installed the latest version of .net framework but it still shows the same error message. Is there another solution ???
Thomas Koelen
Thomas Koelen 2015년 5월 10일
To find .NET Framework versions by viewing the registry (.NET Framework 1-4)
On the Start menu, choose Run. In the Open box, enter regedit.exe.
You must have administrative credentials to run regedit.exe.
In the Registry Editor, open the following subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP
The installed versions are listed under the NDP subkey. The version number is stored in the Version entry. For the .NET Framework 4 the Version entry is under the Client or Full subkey (under NDP), or under both subkeys.
Could you check what this says for you?
elie geagea
elie geagea 2015년 5월 11일
I check it and i found that the installed version is 4.5.51650
Thomas Koelen
Thomas Koelen 2015년 5월 11일
Download framework 3.5 aswell, you'll need it aswell.
Try again and post results :)
elie geagea
elie geagea 2015년 5월 11일
I installed framework 3.5 then i entered to registry editor to check it. i found that the installed version is 3.5.30729.4926. After that i tried to run the matlab model but unfortunately i had the same problem.
Thomas Koelen
Thomas Koelen 2015년 5월 12일
I see now,
when you configured MVS you forgot to add the comipiler option..
Open up microsoft visual studio command prompt and navigate to the directory of Qt source code.
type
configure -platform win32-msvc2010 and then run
nmake
Thomas Koelen
Thomas Koelen 2015년 5월 12일
If this doesn't work I suggest you reinstall microsoft visual studio.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2015년 5월 9일

댓글:

2015년 5월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by