Overloading Numel
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a need to overload numel for a data container class that i'm building. However it seems to break the overloaded subsref method because apparently subsref is calling numel (invisibly too, for all the breakpoints that i put in my overloaded numel never got triggered when calling subsref).
Please provide a more comprehensive documentation in overloading numel properly for custom object classes and how it is called with respect to subsref.
4 Kommentare
Daniel Shub
am 8 Jun. 2012
The documentation seems pretty extensive. Can you provide some sample code.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!