can anyone help me to solve this issue ?

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.

 Accepted Answer

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

7 Comments

First thanks for replying. I installed the latest version of .net framework but it still shows the same error message. Is there another solution ???
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?
I check it and i found that the installed version is 4.5.51650
Download framework 3.5 aswell, you'll need it aswell.
Try again and post results :)
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.
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
If this doesn't work I suggest you reinstall microsoft visual studio.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!