Diff of /timing/profiling/mexExecuter.c [41302f] .. [e478b6]  Maximize  Restore

  Switch to side-by-side view

--- a/timing/profiling/mexExecuter.c
+++ b/timing/profiling/mexExecuter.c
@@ -53,13 +53,24 @@
    getArgsFromMAT(argv[2],(mxArray**)prhs,argCount);
    mxArray* plhs[1];
 
+   for(int ii=0;ii<10;ii++)
+{
+
    mexfunction(1,plhs,1,prhs);
 
-   for(int ii=0;ii<argCount;ii++)
+   mxDestroyArray((mxArray*)plhs[0]);
+
+}
+
+  for(int ii=0;ii<argCount;ii++)
       mxDestroyArray((mxArray*)prhs[ii]);
+
+
+
    //Free the library:
-   BOOL freeResult = FreeLibrary(dllHandle);
+  // BOOL freeResult = FreeLibrary(dllHandle);
 
+//int prd = 0;
 }
 #else
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks