This error will be present whenever the MATLAB® software pulls a wrong version for the GCC Compiler instead of the required WinGW-W64.The first thing you need to do is to verify you're installing all the software and components needed to generate a Simulink® model for a Windows target.If the error still persist, please follow these steps:1. Install the correct MinGW-w64 - for 32&64 bit Windows Compiler for VeriStand:
2. Restart your computer3. You can now compile a Windows compatible model for use in VeriStand by selecting VeriStand.tlc as the compiler, and VeriStand Compiler for Windows Targets as the toolchain. This process is described in the VeriStand manual.
Creating Simulation Models Using The MathWorks, Inc. Simulink® Software for Use in NI VeriStand
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.