I have a visual studio project that creating a mex function. The solution has One project with one cpp file that is configured to generate a mex32/64 file.
I would like to fake a matlab call to this function for debugging/testing/validating. My goal is to create another project, console application that calls this mexfuntion. Has anyone ever done it? What are the parameters I should call to mexfunction with? How does the main() in the console application should look like?