classdef clB < clA properties prop = 'valB'; end methods function privMeth (this) disp ('clB::privMeth'); end end end