gavspav wrote:
How do I feed the Picture in Picture block with values at runtime?
I thought that it would accept a double matrix generator (2 x 2) but it doesn't.
I see from the description that the datatype it needs is Roi 2D double.
How do I generate this?
You can use the Rectangle2D generator. A Rectangle2D is different from a Roi2D, however, a converter from the former to the latter exists; thus, you can link the output of the Rectangle2D generator to the Roi2D parameter pin.
However, remember to use the same domain for both datatype (both integers or both double), otherwise the link is not possible.
Paolo