Info

This question is closed. Reopen it to edit or answer.

mex files when you cannot compile them yourself

1 view (last 30 days)
Garbanzo
Garbanzo on 10 Oct 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello all,
I've never used mex files before, and would like to start for improving the speed of a particular code. Unfortunately my OS and matlab versions (windows 8.1 and R2011b, resp.) seem to not allow me to do this myself. (you can see here that matlab wants windows SDK 7.1, and that won't install on windows 8.1).
So here's my question: what can i do?
- Can i have someone else do the mex file for me and then use it on my own system? This would be an acceptable work around, because the functions i want to mex are just a handful and are stable and simple enough that i don't expect to update them often, perhaps not at all. But will it work?
- Can i find another compiler, or is there some other work around to be able to make mex files for my own?
Unfortunately, i don't have money to put in this, so getting a new matlab license is not an option at this point.
  2 Comments
Geoff Hayes
Geoff Hayes on 10 Oct 2014
Garbanzo - have you checked this link how to install SDK 7.1? In the trouble-shooting section, they mention If you have .NET Framework 4.5 installed, or are using Windows 8, SDK 7.1 may fail to install then follow some steps. That may be a possibility.
Else, if the mex files are built on another Windows 8.1 PC, then they may work on your PC.
Garbanzo
Garbanzo on 10 Oct 2014
No I haven't seen this. The error given seemed straightforward enough that i figured it was just not supported on 8.1. I'll look into that, thanks!

Answers (0)

Community Treasure Hunt

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

Start Hunting!