Clear Filters
Clear Filters

How to display montage images in UI Axes (MATLAB App Designer)?

9 views (last 30 days)
I have 25 image outputs, each of size 257x257x3 (uint 8).
I montage them but in App designer it is unable to show the montage image in UI Axes.
It always hows the following error,
Expected input number 1, I, to be one of these types:
double, single, uint8, uint16, uint32, uint64, int8, int16, int32, int64, logical
Instead its type was matlab.graphics.primitive.Image.

Accepted Answer

Cameron
Cameron on 7 Mar 2023
load mristack
montage(mristack,'Parent',app.UIAxes)

More Answers (0)

Categories

Find more on Printing and Saving in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!