From: oana alexandra on
Hi,

My Matlab 2009b has a setting which calls the bench function during a longer matlab run or whenever i open/close and excel file through Matlab ( i have to open more than 100 files) .
Technically, for approx each file opened there are 5 windows which pop-up with the outputs from the bench function and i end up with a lot of redundant Matlab Benchmark windows.

Could you direct me on how to disable this automatic call of the bench function?

Turning it off would be really, really helpfull,

Oana
From: Walter Roberson on
oana alexandra wrote:

> My Matlab 2009b has a setting which calls the bench function during a
> longer matlab run or whenever i open/close and excel file through Matlab

Someone from Mathworks itself confirmed that there is no such setting.

You probably have accidentally used the same file name for one of your
routines as is used somewhere within Matlab, and your version of the
routine happens to contain a call to bench. To debug something like
this, try putting a breakpoint in bench (if it will let you) and then
looking at the calling stack. If it will not let you put a breakpoint in
bench (because if it being built-in) then for the moment create a
temporary bench.m function and put a breakpoint in that.

> Could you direct me on how to disable this automatic call of the bench
> function?

There is no such automatic call. You have an error in something you did,
or you have a corrupted installation (less likely.)