I have a class which launches a process in Windows (using .NET) which brings up the command window. The class name is also the name of a package which is a few levels deep with various packages and classes. Occasionally when I tab complete, usually a level or two down in the package structure, I will see the command window launch briefly and then go away. This doesn't always happen and may or may not be related to whether or not an instance of the base class is in memory or not. Is Matlab executing my class to do tab complete?
I think I've seen this in 2011b. I haven't worked enough with newer versions to know whether or not it is present in 2012a & 2012b.
I can confirm this behavior (also in Matlab R2011b). For an object written completely in Matlab, when using several methods in a row, the constrictor is call when using tab completion.
myObj = myClass() myObj.firstMethod().secondMeth
When I want to tab-complete secondMethod, the constructor is called several time, not just once ....
This is a rather unwanted behavior!
Play games and win prizes!Learn more