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 件のコメント
Friedrich
2013 年 10 月 9 日
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?
Radheeshkumar
2013 年 10 月 9 日
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
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 についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!