Installation T-MATS Windows 10

213 views
Skip to first unread message

obliz...@gmail.com

unread,
Sep 12, 2015, 11:46:59 AM9/12/15
to T-MATS User's Group
Hi.
I have a problem during the installation of T-MATS; my PC has WINDOWS 10 and I am using MATLAB R2015a. 
That's the error: 
Error using Install_TMATS (line 71)
No supported compiler or SDK was found. For options, visit 
Using this link I try to install SDK 7.1, but it doesn't work. Considering the fact that I have Microsoft Visual C++ Redistributable why there is a problem about a compiler?
Thank you! 

J Chapman

unread,
Sep 12, 2015, 3:01:05 PM9/12/15
to T-MATS User's Group
It sounds like you may not have setup a c compiler to be used with matlab. If you use the command " mex -setup", there should be a few options about selecting one.

-Jeff

Marwa

unread,
Nov 23, 2015, 2:12:03 PM11/23/15
to T-MATS User's Group
Encountered the same problem. My understanding: it is due to Windows 10 coming pre-installed with a particular SDK that the version of Matlab I had did not support. A simple fix for this would be to uninstall the pre-loaded sdk and install the right one but Windows 10 does not allow removal of the sdk it comes with. Option 2 is to install the new sdk parallel to the pre-loaded one but the sdk installer doesn't allow that. Eventually I gave up and now I just run T-MATS on a Windows 7 pc.

J Chapman

unread,
Nov 23, 2015, 5:28:42 PM11/23/15
to T-MATS User's Group
This is an interesting problem. I will open up a T-MATS issue to look into other compilers,  perhaps we can get it working with gnu and come up with a method to link MATLAB to that alternate compiler.  

-Jeff

J Chapman

unread,
Dec 8, 2015, 12:03:27 PM12/8/15
to T-MATS User's Group
As an update, I managed to get an alternate compiler to work with MATLAB v 2015aSP1. I can not test it with Windows 10, but I don't see why it wouldn't work.  It operates by overwriting the mexopts.bat file to force matlab to look at another location for the compiler. Note,it did not show up when I did "mex -setup".

Anyway, the package is gnumex. I installed it and compiled the T-MATS functions then tested it with a couple of blocks with no issues.  There were a few warnings, but no real catches. 


-Jeff

Marwa

unread,
Dec 10, 2015, 1:57:31 PM12/10/15
to T-MATS User's Group
After some tinkering I am able to run 2 Matlab compilation setups on Windows 10:
  • As you suggested above - Matlab R2013a with gnumex (GCC 4.4.7).
    • Haven't tried gnumex with R2015a. A quick look at the list of supported compilers for R2015a and R2015b shows that MinGW support was only added in R2015b
  • Courtesy of this post on Matlab Answers I have R2015a working with Microsoft Visual C++ 2013 Professional. Installed "Microsoft Visual Studio Ultimate 2013 with update 4" to get the "Visual C++ 2013 Professional"

J Chapman

unread,
Dec 11, 2015, 3:34:26 PM12/11/15
to T-MATS User's Group
Marwa,  

Glad to hear you were able to get it working.  Before I release the newest version of T-MATS I will have to make sure it runs in v2015b. 
Currently, the newest T-MATS version is slated to be released as compatible with v2015aSP1.  I have noticed MATLAB seems to be fairly good about being forward compatible, but not as good with being backwards compatible, so we should probably be ok. 
Reply all
Reply to author
Forward
0 new messages