unable to use "mex c" file
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I have a code that includes a "c" file which is called "unravel.c". When I run the code, I see this error message "Undefined function 'unravel' for input arguments of type 'uint16'". Then I found unravel.c from the website but couldn't use it. I tried to use; "mex unravel.c" on the command window but I get:
"No supported SDK or compiler was found on this computer. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2013a/win64.html" message. I visited that website but couldn't figure out what to do.
Please help. Thanks in advance.
1 件のコメント
回答 (1 件)
Walter Roberson
2016 年 8 月 30 日
Download and install SDK 7.1; you can find it at https://www.microsoft.com/en-ca/download/details.aspx?id=8279
After that use
mex -setup
to configure mex. You should then be able to mex your code.
By the way, watch out for a possible typo in unravel.c : https://www.mathworks.com/matlabcentral/answers/5837-i-could-t-compile-the-function-unravel-c-from-dip-using-matlab-book-by-rafael-gonzalez-and-richard-w
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!