Mex setup wierd failure

1 回表示 (過去 30 日間)
Gilmore
Gilmore 2013 年 2 月 22 日
Hello Experts,
Please find a 2 screenshots attached about my current issue. I need to compile the schematic so that i can connect to my microcontroller. First the problem was that the 64-bit matlab did not have the right compiler, therefore following instructions i installed the SDK 7.1. After installing it i tried to compile the simulink model again, but still having issues as shown in the images.
Your help is greatly appreciated.
Links:

回答 (1 件)

Jan
Jan 2013 年 2 月 22 日
Sorry, this is not an answer and please do not take it personally.
The large number of questions about mex -setup is very tedious. The process of the setup is easy, when it works, but clumsy, when it fails. In the next step calling mex itself has been growing to an awkward construct of BAT files, which are interpreted by PERL scripts, which are controlled by M-functions to call the compiler and linker executables. But actually some easy M-files would be enough.
Even more seriously are the bugs in the installer of the MSVC compilers. This cannot be handled by TMW, but it has massive effects on Matlab users. TMW has shipped the LCC compiler for many years with the 32 bit versions of Matlab. The used LCC version had serious bugs (e.g. for int64), was really old (at least until R2009a) and the produced libraries have been slow. But it was worth to use them, because it avoids the mess with the installation of another compiler.
I understand, that TMW cannot simply include a compiler to Matlab. But it would be user-friendly, improve the usability and reduce errors.
Sorry again for high-jacking your question for this non-helpful statement.

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by