Command-duality is not supported to execute "mex -setup"

When I was trying to run a simple program in Embedded MATLAB function, first it said 'unable to locate "mexopts.bat".. then as it directed I entered the command "mex -setup", when i run the program again, it says "command duality is not supported".. how this can be resolved.?

댓글 수: 3

I guess thats related to the code in your Embedded MATLAB function. What is in there? Are the commands and functions you use really supported for that block?
OK. Now the "mex -setup" got executed. but the available compilers are show as "NONE".. WHAT SHOULD I DO NOW? I had installed MS Visual C ++ 2008 SP1 in my system..
Jan
Jan 2013년 10월 9일
You need the SDK also. Please look in the documentation for the list of supported compilers to find out the required version.

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

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2013년 10월 9일

0 개 추천

You are probably calling a function using the command syntax, instead of the function syntax. The former syntax is not supported for code-generation. See here for an explanation of what command duality means.

카테고리

도움말 센터File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품

태그

질문:

2013년 10월 9일

답변:

2013년 10월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by