Info

此问题已关闭。 请重新打开它进行编辑或回答。

mex files when you cannot compile them yourself

1 次查看(过去 30 天)
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 个评论
Geoff Hayes
Geoff Hayes 2014-10-10
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 2014-10-10
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!

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by