- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
i am a research assistant at the university of florida. i have compaq visual fortran 6.5 installed in winnt paltform along with matlab 5.3. i set up the compiler with mex -setup. when i tried compiling a simple fortran file, i got an error message like the one i have attached in the additional info.
any help would be appreciated
Thanks in advance.
Ganesan.
Additional Information:
>>mex times2.for
Creating library _lib1293l.lib and object _lib1293l.exp
_lib1293l.exp : error LNK2001: unresolved external symbol _MEXFUNCTION@16
times2.dll : fatal error LNK1120: 1 unresolved externals
C:MATLABR11BINMEX.BAT: Link of 'times2.dll' failed.
i am a research assistant at the university of florida. i have compaq visual fortran 6.5 installed in winnt paltform along with matlab 5.3. i set up the compiler with mex -setup. when i tried compiling a simple fortran file, i got an error message like the one i have attached in the additional info.
any help would be appreciated
Thanks in advance.
Ganesan.
Additional Information:
>>mex times2.for
Creating library _lib1293l.lib and object _lib1293l.exp
_lib1293l.exp : error LNK2001: unresolved external symbol _MEXFUNCTION@16
times2.dll : fatal error LNK1120: 1 unresolved externals
C:MATLABR11BINMEX.BAT: Link of 'times2.dll' failed.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not being too familiar with MATLAB, it looks to me that MATLAB is trying to call a function MEXFUNCTION that you are supposed to write, and that function must have a particular set of arguments. Check the MATLAB documentation for details as to what this is supposed to look like.
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page