Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
[Q:] NDP Fortran & MATLAB FMEX experience
Posted:
Jun 28, 1996 12:33 AM
|
|
Friends, I feel exhausted doing FMEX for MATLAB in PC Win95. I have NDP V3.2 and V4.0.2. The Phar Lap's newest TNT linker is Version 6.1. When running the FMEX.BAT of MATLAB V4.2c1, several .obj, .lib files cannot be found. Then I changed to use FMEX.BAT of MATLAB V4.0, the compiling process is okay, but there are several link errors. However, the generated .MEX file can still be called from MATLAB.
BUT the strange thing is: in the every first run, it has an error regarding to the number of IN parameters, such as 'I need 2 input parameters'. When in the 2nd run and the later runs, this error disappears and the results are correct!!
The prblem is : how to elliminate the first run error?
Any expert there can share some experience in FMEXing ?
Best regards,
Yangquan Chen ======================================================= = Mr. Chen Yangquan = = = = Control and Simulation Laboratory, E4-06-23 = = Center for Intelligent Control = = Department of Electrical Engineering = = National University of Singapore = = 10 Kent Ridge Crescent, Singapore 119260 = = = = Tel.: 65-7723493(O), or, 7996410(O) weekend&evening = = e-mails:yangquan@ee.nus.sg; or, elecyq@leonis.nus.sg= =======================================================
|
|
|
|