MATLAB: Obtain simulink signal width

simulink

I want to access the width(dimension) of a vector in Simulink. I want to use this value in other block. Is it possible? How can I achieve this?
Thanking you in advance.

Best Answer