I am generating C code from my MATLAB code using EMLC. Along with my custom code and the generated C code, I would like to use the MAKE command to create an executable on my Windows 7 (64 bit) machine. I have written a MAKE file that can accomplish this task. When executing the MAKE command at the DOS prompt for the aforesaid C files, I receive the following error message:
%FILEPATH%: undefined reference to `dgemm32' collect2: ld returned 1 exit status make: *** [42] Error 1
where FILEPATH refers to the object file for the C code "foo.o" that is generated from my MATLAB code "foo.m"
Best Answer