MATLAB: How to not display plot using imshowpair, or imfuse

displayimshowpair

Hey i got the problem i have a small matlab app designer program, and i gotta use imshowpair ( or other function that does not create a plot ), and its not possible to hide it…
Can i at least assign it to app.UiAxes ? i tried to find plenty of resolutions and so far nothing

Best Answer

C = zeros( max(size(A,1), size(B,1)), size(A,2) + size(B,2), max(size(A,3),size(B,3)), class(A));
C(1:size(A,1), 1:size(A,2), 1:size(A,3)) = A;
C(1:size(B,1), size(A,2)+1:end, 1:size(B,3)) = B;
Now you can display C.