Operating an existing Simulink model is a system error
Fatal error U1050:must Specify CPU environment variable (cpu=i386, Cpu=alpha) Stop.
The reason is that MATLAB did not configure the compiler successfully.
The compiler is reconfigured, but it is not always successful.
have tried Reinstall Windows SDK7.1 and manually selecting a variety of compilers still fails.
Struggling to find a solution online is not, give up one day. The next day after the busy work, continue to find finally resolved.
The problem lies in:
http://support.microsoft.com/kb/2717426
http://support.microsoft.com/kb/2519277
This problem can occur in the following situations
- Installed the vc++2010 SP1
- Installed VC + Redistributable Packages (x64 or x86)
Solution Solutions
1. Uninstall VC + Redistributable Packages (x64 and x86)
2. Install Windows SDK 7.1. When you install, do not install Visual C + + compilers and Microsoft Visual C + + 2010
3. Install VC + + Compilers update for Windows SDK 7.1
http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=4422
4. Reinstall Microsoft Visual C + + Redistributable packages
- x64:http://www.microsoft.com/en-us/download/details.aspx?id=14632
- x86:http://www.microsoft.com/en-us/download/details.aspx?id=5555
System: Windows 7 Ultimate Edition X64
matlab:2012b X64
MATLAB 2012B Unable to configure compiler issues