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

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
Radheeshkumar
Radheeshkumar il 9 Ott 2013
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 il 9 Ott 2013
You need the SDK also. Please look in the documentation for the list of supported compilers to find out the required version.

Accedi per commentare.

Risposte (1)

Kaustubha Govind
Kaustubha Govind il 9 Ott 2013
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.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by