Azzera filtri
Azzera filtri

Mex setup wierd failure

2 visualizzazioni (ultimi 30 giorni)
Gilmore
Gilmore il 22 Feb 2013
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:

Risposte (1)

Jan
Jan il 22 Feb 2013
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.

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by