I am using MATLAB R2012b 64 bit version. When I try to compile the mex file it gives an error saying
"Error using mex (line 206)
Unable to complete successfully."
What should I do to get this problem resolved?
Something strange happened I'm working on Matlab 7.11 under Win 7 (32b). On hp intel i5.
Then i used the mex file given and the example works really fine. But then i decided to follow what is stated in other requirements. It compiles and runs properly no errors. The issue is that the reported CPU times after recompiling are double. Isn't that odd? Obviously i'll use the original file from the posts, but the new compilations shouldn't be more efficient?. What am i missing here?
PS: Great submission
Beautiful job, Thanks for sharing.
for 64 bit uses check these two links I think they help a lot:
I encountered the following problem under ubuntu.
Warning: You are using gcc version "4.4.3-4ubuntu5)". The earliest gcc version supported
with mex is "4.1". The latest version tested for use with mex is "4.2".
To download a different version of gcc, visit http://gcc.gnu.org
paretofront.c: In function ‘paretofront’:
paretofront.c:83: error: expected expression before ‘/’ token
mex: compile of ' "paretofront.c"' failed.
The way to solve it is to delete the comment at line 83 in the paretofront.c file.