Hi Jan, I assume your alternative with specific get methods is something like this: classdef superClass properties (Access=private) state_data end properties (Dependent) state end methods functio...
I find the inability to override getters of dependant properties in subclasses very frustrating. classdef superClass properties (Access=private) state_data end properties (Dependent=true) state e...
We have been able to use Matlab OO quite successfully in our projects, though there definitely have been some hiccups along the way. The issue of needing to restart Matlab frequently when 'clear ...
I am a machine-learning team leader in my company. We considered to use OO in matlab for our new system. However we fill that OO is not mature enough in MATLAB. Especially because of bugs that ha...
Hi Ian, In R2012a and going forward, there should be almost no overhead for nesting objects in other object properties and no need to pull the property out into a temporary variable before using ...
Hi, I often like to have objects embedded in normal properties of other objects (bike.wheel). These child objects themselves have properties (bike.wheel.nSpokes). Is there any additional overhead...
Dave, I'm curious about the order-of-magnitude difference between the performance of the SimpleCylinder and NewCylinder examples: SimpleCylinder (loop outside) : 0.112309 seconds. SlowCylinder (c...
Two Questions: In designing a cohesive solution to plotting general equations, I have one for independent variable and first attempt at plotting, another which supplies the dependent variable and...
I agree with Daniel - A Mathworks OOP blog would be very exciting! I know there's some low-hanging fruit in some of my MATLAB "OOPlications" in terms of efficiency gains.
Great post. Will have to reread this post a number of times to digest the huge number of nuggets about OO MATLAB. Dave I would love to see, and would definitely read, a regular blog from someone ...