Home  
 
Matlab Error Help
 

In the event that an error occurs during the code generation process, where an error message similar to the following is shown:

libcmt.lib(heapinit.obj) : error LNK2001: unresolved
external symbol __imp__GetEnvironmentVariableA@12
q_lpbk.wcl : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error
U1077: '"E:\PROGRA~1\MICROS~1\VC98\bin\link.exe"' : return
code '0x460'
Stop.

Error using ==> make_rtw
Error using ==> rtw_c
Error(s) encountered while building model "q_lpbk"

Please do the following to determine the service pack version:

The About dialog box, which you can access from the Help menu, shows the initial version number of the product that is installed. It does not change when you install a service pack.

To determine if a service pack has been installed on a particular computer, find one of the files for MSVC++ and check the version number. If the version number matches the number in the service pack column in the following table, then the service pack has been installed. The table does not include a complete list of files from Service Packs, but rather it shows a representative sample of the changes from initial product release to each service pack. Note that for several products, there were no changes in versions for some files with some of the service packs.

If the number is higher than that listed under Service Pack 4, then you are using Service Pack 5.

Visual C++ 6.0
File Name Release Version Service Pack 1 Service Pack 2 Service Pack 3 Service Pack 4
Mfc42.dll 6.00.8168.0 6.00.8267.0 Unchanged 6.0.8447.0 6.00.8665.0
Mfc42d.dll 6.00.8168.0 6.00.8267.0 Unchanged 6.0.8447.0 6.00.8665.0
Mfc42u.dll 6.00.8168.0 6.00.8267.0 Unchanged 6.0.8447.0 6.00.8665.0
Mfc42ud.dll 6.00.8168.0 6.00.8267.0 Unchanged 6.0.8447.0 6.00.8665.0
Mfcd42d.dll 6.00.8168.0 6.00.8267.0 Unchanged 6.0.8447.0 6.00.8665.0
Mfcd42ud.dll 6.00.8168.0 6.00.8267.0 Unchanged 6.0.8447.0 6.00.8665.0
Mfcn42d.dll 6.00.8168.0 6.00.8267.0 Unchanged 6.0.8447.0 6.00.8665.0
Mfcn42ud.dll 6.00.8168.0 6.00.8267.0 Unchanged 6.0.8447.0 6.00.8665.0
Mfco42d.dll 6.00.8168.0 6.00.8267.0 Unchanged 6.0.8447.0 6.00.8665.0
Mfco42ud.dll 6.00.8168.0 6.00.8267.0 Unchanged 6.0.8447.0 6.00.8665.0
Msvcrt.dll 6.00.8168.0 6.00.8267.0 6.00.8337.0 6.0.8397.0 6.00.8797.0
Msvcrtd.dll 6.00.8168.0 6.00.8267.0 6.00.8337.0 6.0.8447.0 6.00.8797.0