Info

This question is closed. Reopen it to edit or answer.

Strange class calling preference

2 views (last 30 days)
Ralf
Ralf on 14 Oct 2012
Closed: MATLAB Answer Bot on 20 Aug 2021
In the old class system I have three classes:
class1, class2 which is inherited from class 1, and, class3. Both class1 and class3 have a method doX(varargin). Now
doX(class1,class3)
calls class1.doX, but
doX(class1,class3,class2)
calls class3.doX. Is this behavior known? What is the reason for this?
Thanks,
Ralf.
  1 Comment
per isakson
per isakson on 14 Oct 2012
Edited: per isakson on 14 Oct 2012
Which Matlab release?

Answers (0)

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!