필터 지우기
필터 지우기

unable to use "mex c" file

조회 수: 2 (최근 30일)
Huseyin
Huseyin 2016년 8월 30일
댓글: Huseyin 2016년 8월 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
James Tursa
James Tursa 2016년 8월 30일
You need to install one of the supported compilers.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
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.
  댓글 수: 1
Huseyin
Huseyin 2016년 8월 30일
Thank you, I am now downloading the SDK 7.1

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by