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.

 Réponse acceptée

Thomas Koelen
Thomas Koelen le 9 Mai 2015

0 votes

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

7 commentaires

elie geagea
elie geagea le 10 Mai 2015
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 le 10 Mai 2015
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 le 11 Mai 2015
I check it and i found that the installed version is 4.5.51650
Thomas Koelen
Thomas Koelen le 11 Mai 2015
Download framework 3.5 aswell, you'll need it aswell.
Try again and post results :)
elie geagea
elie geagea le 11 Mai 2015
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 le 12 Mai 2015
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 le 12 Mai 2015
If this doesn't work I suggest you reinstall microsoft visual studio.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Install Products dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by