Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-01625// Views: AA-01625// Created: 2019-03-27 21:04:56// Last Updated: 2019-11-08 18:01:17
Problem & Solution
"No supported compiler or SDK was found" for ePHASORsim in 64bits MATLAB

Problem: 

AND/OR

Solution

Since MATLAB 2017a and 2016b don't come with the MinGW64 compiler installed, you will need to manually install it to use ePHASORsim. Hopefully it is very easy to fix:

1 - Consult this website and follow the steps showed there (according to the MATLAB version that you have): http://khailaie.com/notes/MEX/MEX-MinGW-setup-Windows.html

2- As shown on the website linked above, you will need to enter two commands in the MATLAB command window. There is a slight modification to bring to them:

The first one can be entered as is:

setenv('MW_MINGW64_LOC','C:\TDM-GCC-64');

The second one will look like this: (C instead of C++)

 mex -setup C


3- In the end, you should end up with this in the MATLAB command window:




To be safe you can add the variables directly in your model using the Model Initialization block found in the ARTEMIS toolbox. This will initialize everytime your run or compile your model. Here are the variables to add:

setenv('MW_MINGW64_LOC','C:\TDM-GCC-64');mex -setup c