Overloading Numel
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Daniel Shub
il 8 Giu 2012
The documentation seems pretty extensive. Can you provide some sample code.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!