Instead of Triangular wave generator from Library browser Embedded Matlab func (user defined) is used. Make sure that tha amplitude of sine and triangle wave are equal.and also the freq of triangular is not less than twice the freq of sine wave.(remember sampling theorem?) And to increase the simulation speed decrease the sampling time value in unit delay block.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.