From: Marcin on
I'm trying to learn how to use matlab compiler. Unfortunatly I'm experiencing several problems. So far I've been trying to follow the example available on Matworks web site:
http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/f2-972343.html#f2-1007348

That discribes the making of a C shared library.

After I compile the "m" files as described above i try to use run a C program using Visual Studio 2008 i get the following error:

Error 1 error LNK2019: unresolved external symbol _mxGetPr_proxy referenced in function "void __cdecl display(struct mxArray_tag const *)" (?display@@YAXPBUmxArray_tag@@@Z) kal.obj stefan
Error 2 error LNK2019: unresolved external symbol _mxGetN_proxy referenced in function "void __cdecl display(struct mxArray_tag const *)" (?display@@YAXPBUmxArray_tag@@@Z) kal.obj stefan
Error 3 error LNK2019: unresolved external symbol _mxGetM_proxy referenced in function "void __cdecl display(struct mxArray_tag const *)" (?display@@YAXPBUmxArray_tag@@@Z) kal.obj stefan
Error 4 error LNK2019: unresolved external symbol _mclTerminateApplication_proxy referenced in function _main kal.obj stefan
Error 5 error LNK2019: unresolved external symbol _libmatrixTerminate referenced in function _main kal.obj stefan
Error 6 error LNK2019: unresolved external symbol _mlfEigmatrix referenced in function _main kal.obj stefan
Error 7 error LNK2019: unresolved external symbol _mlfMultiplymatrix referenced in function _main kal.obj stefan
Error 8 error LNK2019: unresolved external symbol _mxDestroyArray_proxy referenced in function _main kal.obj stefan
Error 9 error LNK2019: unresolved external symbol _mlfAddmatrix referenced in function _main kal.obj stefan
Error 10 error LNK2019: unresolved external symbol _mxCreateDoubleMatrix_730_proxy referenced in function _main kal.obj stefan
Error 11 error LNK2019: unresolved external symbol _libmatrixInitialize referenced in function _main kal.obj stefan
Error 12 error LNK2019: unresolved external symbol _mclInitializeApplication_proxy referenced in function _main kal.obj stefan

Does anybody know what's causing these errors??
 | 
Pages: 1
Prev: fminsearch
Next: AccumArray usage