Hi.
I was trying to solve the same problem for another reason, but there isn’t such block in the library.
What you can do is see how the Simulink block is built and replicate it in Plecs.
Otherwise, you should write a C-Script to implement what you need…