...dll is created in Matlab. The function is a very simple test:
Function answer = TestFunction(inputArgument)
TestFunction = inputArgument * inputArgument;
However, it seems that Matlab converts the function to:
function(number of arguments to output, the answer, input 1, input 2 ...