This example shows how to load a C DLL into Matlab and make a call to functions it contains. In addition, a C-like M file implementation of the same functionality is included for comparison. Furthermore, a vectorized M file has been added to try to match the performance of the library call.
Files:-
conv.c and conv.h : use these to create the dll called conv.dll
myconvm1 : C-like M file that performs the same thing as myconv in conv.dll
myconvm2 : vectorized M file with performance approaching that of myconv in conv.dll
myscr : script that shows how to load the library and that times the execution times of the different versions
Requirements:
· MATLAB Release: R2007a