Therefore, a separate installation of these GNU compilers should not be required. The MingGW/GNU Fortran and C compilers should have been installed by the EASY5 installer when you installed EASY5. That is, you must use either the GNU Fortran/C combination or the Microsoft C/Intel Fortran combination. You cannot mix the Fortran compiler from one with the C compiler from another.
#MATLAB 64 BIT 32 BIT COMPILER CODE#
Also, if you are going to be including C code in your EASY5 model (but not interfacing with Matlab), you can use either the supplied GNU compiler or you can use the Microsoft C compiler. The GNU C compiler will work for the exporting of the model as a generic DLL and for the FMI method. This also means that you will need to go to the Intel Visual Fortran compiler as well. You will need to obtain Microsoft C (or Visual Studio with an included C compiler). (If you use the FMI approach to interfacing with Matlab, a C compiler is not required as a Fortran-only option for FMU export exists beginning with EASY5 2018.) The GNU C compiler supplied with EASY5 will not work for the s-function Matlab interface as it is not supported by Matlab.
This is because the Matlab and DLL export interfaces utilize C code.
If you are going to be interfacing EASY5 with Matlab using the traditional s-function approach, or exporting your EASY5 model as a generic DLL, then you will also need a C compiler. The FMI method can use GNU however, so if you cannot get the Intel compiler, the FMI interface is your only option. We do not include Intel Fortran with EASY5 and so it is up to the customer to source that compiler on their own.Īdams is not compatible with the GNU Fortran compiler so you will need to be using the Intel Fortran compiler if you are going to be interfacing EASY5 and Adams using the traditional proiprietary cosim apporach (i.e., discrete cosim, GSE or Functioan Evaluation). EASY5 ships with the MinGW/GNU compiler included but you can also use Intel Visual Fortran (IVF) for more features (like interfacing with Adams or running models through a visual debugger). This is because EASY5 always builds models from Fortran code (and sometimes C code) and then executes that code during an analysis. EASY5 (under almost all circumstances) requires a Fortran compiler to be installed on the same machine as EASY5.