MATLAB: Simulink: rectangular pulse filter with finite rise time

pulse shapingsimulink

Is there a way to create a rectangular pulse with finite rise time in Simulink? I found the "Ideal Rectangular Pulse Filter" in the Communications Blockset. But that one gives inifite rise time, basically the same as if doing a pure rate transition.
Many thanks!!!

Best Answer

I found how to generate square waves with slew rate, do this:
Signal Generator -> Rate Limiter