Frequently Asked Questions

This page points out the troubleshooting and solutions for some common problems.
If you have any questions, please send email to us. Any comments or suggestions are greatly appreciated.

Questions about System Requirements

1. Do I have to use MATLAB R2014b or higher version? It takes too long to download a new version.

We are sorry about that the VerifyRealRoots only works on MATLAB R2014b and higher version. What's more, it is good to update your MATLAB to higher version because a new version will performance better.

2. I have never used any C++ compiler, which C++ compiler should I download?

For Windows, we recommend Microsoft Windows SDK 7.1 which is simple. Here is Installation Instructions.
For Linux, we recommend GCC (4.4-4.7), you can get GCC here.
For Mac OS, we recommend Xcode, you can get Xcode from App Store or here.

3. I get some problems while installing Microsoft Windows SDK 7.1.

If you have .NET Framework 4.5 installed, SDK 7.1 may fail to install. In this case, uninstall .NET Framework 4.5 then install the SDK 7.1.
If Microsoft Visual Studio C++ 2010 SP1 is already installed, SDK 7.1 may fail to install. In this case, remove the 2010 Redistributable packages (both x86 and x64), then install the SDK 7.1.
To get more help, you can visit Installation Instructions.

Error in Running configure.m

1. When I type "configure" in Matlab Command Window, I get error "Undefined function or variable 'configure'.", what should I do?

First of all, you need to change the MATLAB current folder to VerifyRealRoots' folder, or add its folder to path. Secondly, type "configure" in Matlab Command Window.

2. When I run "configure.m", I get error "Error using mex, No supported compiler or SDK was found. For options, visit ...", what should I do?

First of all, you need to install a C++ compiler. After that, if the error still happens, as I suspected, you're using a compiler that is too new, or too old. You'll need to download a matching C++ compiler, click here to find which compiler is suitable.

3. When I run "configure.m", I get the error "Invalid value... in verify.mexw64".

This may be a little complicated, but still easy.
I. Delete the verify.mexw64 file in VerifyRealRoots\src\subroutines
II. Download the suitable C-XSC version to your C++ compiler.
III. Install C-XSC to default path then run "configure.m" again. In the other case, if you install C-XSC to your specify path, you need to change cxscPath to the path in configure.m, line 4. Then run "configure.m" again.

4. After steps in question 3, I run "configure.m", then get the error "Error using mex, cxsc.lib(dot.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1600' in verify.obj ...".

Do not worry, it is easy to solve. Just check the version of C-XSC you download, it must match the version of the C++ compiler.