Filter löschen
Filter löschen

Simulink, MATLAB function make error

1 Ansicht (letzte 30 Tage)
Thomas
Thomas am 20 Jan. 2013
Hello,
I'm trying to run a simple MATLAB function within Simulink. But when I run it seems to work fine up until ###Linking, where I get the following error message:
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\link.exe"' : return code '0x450' Stop.
I'm using MATLAB 7.12.0 (R2011a) and using the visual C++ 2010 compiler.
Any ideas as to what the problem is?
Regards, Thomas
  4 Kommentare
Kaustubha Govind
Kaustubha Govind am 21 Jan. 2013
Thomas: When you ran "mex -setup" to select a MEX compiler, was the utility able to find your installed compiler automatically? If not, there might be something missing in your compiler installation.
Thomas
Thomas am 21 Jan. 2013
Yer I ran mex -setup, and when saying yes to the automatic search, it found the 2010 compiler. And seemed to accept it

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by