I have a simple MATLAB file and when I try to compile this file I receive the following error:
<SNIP> myfile_main.obj : error LNK2001: unresolved external symbol _mclInitializeComponentInstanceWithEmbeddedCTF_proxy myfile_main.obj: error LNK2001: unresolved external symbol _mclmcrInitialize_proxy myfile_main.obj: error LNK2001: unresolved external symbol _mclWrite_proxy myfile_main.obj: error LNK2001: unresolved external symbol _mclTerminateInstance_proxy myfile_main.obj: error LNK2001: unresolved external symbol _mclTerminateApplication_proxy myfile_main.obj: error LNK2001: unresolved external symbol _mclWaitForFiguresToDie_proxy myfile_main.obj: error LNK2001: unresolved external symbol _mclMain_proxy myfile_main.obj: error LNK2001: unresolved external symbol _separatePathName_proxy myfile_main.obj: error LNK2001: unresolved external symbol _mclRunMain_proxy myfile_main.obj: error LNK2001: unresolved external symbol _mclInitializeApplication_proxy myfile.exe : fatal error LNK1120: 10 unresolved externals C:\MATLAB\R2008A\BIN\MEX.PL: Error: Link of 'myfile.exe' failed. Error: An error occurred while shelling out to mbuild (error code = 2). Unable to build executable. ??? Error using ==> mcc Error executing mcc, return status = 1.
Best Answer