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

2 ビュー (過去 30 日間)
Amlan basu
Amlan basu 2023 年 3 月 7 日
回答済み: Cameron 2023 年 3 月 7 日
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.

採用された回答

Cameron
Cameron 2023 年 3 月 7 日
load mristack
montage(mristack,'Parent',app.UIAxes)

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by