Unfortunately, Cubase does not have this feature ready-made (it has been requested several times in this Forum).
One option would be to study a way to do it with the Logical Editor.
Another, would be to try the free plugin MidiStrum, which I have not tried (yet):
http://www.thepiz.org/plugins/?p=pizmidi